Fix typing test

This commit is contained in:
Roman Mogylatov 2024-06-04 23:34:01 -04:00
parent 19b21a4a84
commit 617cfe0eb8

View File

@ -6,7 +6,7 @@ from pydantic import BaseSettings as PydanticSettings
# Test 1: to check the getattr # Test 1: to check the getattr
config1: providers.Provider[Any] = providers.Configuration() config1: providers.Configuration = providers.Configuration()
provider1: providers.Provider[dict] = providers.Factory(dict, a=config1.a) provider1: providers.Provider[dict] = providers.Factory(dict, a=config1.a)
# Test 2: to check the from_*() method # Test 2: to check the from_*() method