From 61ea57292fd147215f5ebf3e69d766a88057eb05 Mon Sep 17 00:00:00 2001 From: Christian Helle Date: Fri, 18 Oct 2024 22:40:58 +0200 Subject: [PATCH] specify return type in Autodata --- src/autofaker/autodata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/autofaker/autodata.py b/src/autofaker/autodata.py index 792a09b..2eee457 100644 --- a/src/autofaker/autodata.py +++ b/src/autofaker/autodata.py @@ -15,7 +15,7 @@ class Autodata: """ @staticmethod - def create(t, use_fake_data: bool = False): + def create(t, use_fake_data: bool = False) -> typing.Any: """ Creates an anonymous variable of the requested type