Skip to content

Commit a06354a

Browse files
committed
Rename output_filename to filepath
1 parent 9283bc3 commit a06354a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

sdv/multi_table/dayz.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,18 +163,18 @@ def __init__(self, metadata, locales=['en_US']):
163163
)
164164

165165
@classmethod
166-
def create_parameters(cls, data, metadata, output_filename=None):
166+
def create_parameters(cls, data, metadata, filepath=None):
167167
"""Create parameters for the DayZSynthesizer.
168168
169169
Args:
170170
data (dict[str, pd.DataFrame]): The input data.
171171
metadata (Metadata): The metadata object.
172-
output_filename (str, optional): The output filename for the parameters.
172+
filepath (str, optional): The output filename for the parameters.
173173
174174
Returns:
175175
dict: The created parameters.
176176
"""
177-
return create_parameters_multi_table(data, metadata, output_filename)
177+
return create_parameters_multi_table(data, metadata, filepath)
178178

179179
@staticmethod
180180
def validate_parameters(metadata, parameters):

sdv/single_table/dayz.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,18 +255,18 @@ def __init__(self, metadata, locales=['en_US']):
255255
)
256256

257257
@classmethod
258-
def create_parameters(cls, data, metadata, output_filename=None):
258+
def create_parameters(cls, data, metadata, filepath=None):
259259
"""Create parameters for the DayZ synthesizer.
260260
261261
Args:
262262
data (pd.DataFrame): The input data.
263263
metadata (Metadata): The metadata object.
264-
output_filename (str, optional): The output filename for the parameters.
264+
filepath (str, optional): The output filename for the parameters.
265265
266266
Returns:
267267
dict: The created parameters.
268268
"""
269-
return create_parameters(data, metadata, output_filename)
269+
return create_parameters(data, metadata, filepath)
270270

271271
@staticmethod
272272
def validate_parameters(metadata, parameters):

0 commit comments

Comments
 (0)