blob: 59458e7817b6ed75a5a54bc461202ee80742f9da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
from ..core import Master, Quarter
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
|