From d06a0e0652209485bb928ca3164f1ee7d21f19ba Mon Sep 17 00:00:00 2001 From: qodana-bot Date: Sat, 18 Nov 2023 15:04:03 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Apply=20quick-fixes=20by=20Qodan?= =?UTF-8?q?a?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/autofaker/generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/autofaker/generator.py b/src/autofaker/generator.py index cb0bb5e..5ce4f97 100644 --- a/src/autofaker/generator.py +++ b/src/autofaker/generator.py @@ -22,7 +22,7 @@ def create( ) if is_date_type(type_name): return TypeDataGenerator.create_datetime( - type_name, field_name, use_fake_data + type_name ) if type_name == "list": return ListGenerator(t) @@ -35,7 +35,7 @@ def create( ) @staticmethod - def create_datetime(type_name, field_name: str = None, use_fake_data: bool = False): + def create_datetime(type_name): if type_name == "datetime": return DatetimeGenerator() if type_name == "date":