blob: 549d4fbbc8b9b92e23b7714a8544a794d7e03106 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
from ..core import Quarter
from ..plugins.dft.master import Master
def project_data_from_master_api(master_file: str, quarter: int, year: int):
"""Create a Master object directly without the need to explicitly pass
a Quarter object.
Args:
master_file (str): the path to a master file
quarter (int): an integer representing the financial quarter
year (int): an integer representing the year
"""
m = Master(Quarter(quarter, year), master_file)
return m
|