konecty-sdk-python 1.2.0__tar.gz → 1.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {konecty_sdk_python-1.2.0 → konecty_sdk_python-1.2.1}/KonectySdkPython/lib/settings.py +4 -2
- {konecty_sdk_python-1.2.0 → konecty_sdk_python-1.2.1}/PKG-INFO +1 -1
- {konecty_sdk_python-1.2.0 → konecty_sdk_python-1.2.1}/pyproject.toml +1 -1
- {konecty_sdk_python-1.2.0 → konecty_sdk_python-1.2.1}/.gitignore +0 -0
- {konecty_sdk_python-1.2.0 → konecty_sdk_python-1.2.1}/KonectySdkPython/__init__.py +0 -0
- {konecty_sdk_python-1.2.0 → konecty_sdk_python-1.2.1}/KonectySdkPython/cli/__init__.py +0 -0
- {konecty_sdk_python-1.2.0 → konecty_sdk_python-1.2.1}/KonectySdkPython/cli/apply.py +0 -0
- {konecty_sdk_python-1.2.0 → konecty_sdk_python-1.2.1}/KonectySdkPython/cli/backup.py +0 -0
- {konecty_sdk_python-1.2.0 → konecty_sdk_python-1.2.1}/KonectySdkPython/cli/pull.py +0 -0
- {konecty_sdk_python-1.2.0 → konecty_sdk_python-1.2.1}/KonectySdkPython/lib/__init__.py +0 -0
- {konecty_sdk_python-1.2.0 → konecty_sdk_python-1.2.1}/KonectySdkPython/lib/client.py +0 -0
- {konecty_sdk_python-1.2.0 → konecty_sdk_python-1.2.1}/KonectySdkPython/lib/file_manager.py +0 -0
- {konecty_sdk_python-1.2.0 → konecty_sdk_python-1.2.1}/KonectySdkPython/lib/filters.py +0 -0
- {konecty_sdk_python-1.2.0 → konecty_sdk_python-1.2.1}/KonectySdkPython/lib/model.py +0 -0
- {konecty_sdk_python-1.2.0 → konecty_sdk_python-1.2.1}/KonectySdkPython/lib/types.py +0 -0
- {konecty_sdk_python-1.2.0 → konecty_sdk_python-1.2.1}/README.md +0 -0
|
@@ -75,7 +75,8 @@ async def fill_settings(settings_class: Type[T]) -> T:
|
|
|
75
75
|
[field.upper() for field in fields_to_fetch]
|
|
76
76
|
)
|
|
77
77
|
|
|
78
|
-
for field_name
|
|
78
|
+
for field_name in settings_class.model_fields.keys():
|
|
79
|
+
value = konecty_settings.get(field_name.upper())
|
|
79
80
|
if value is not None and value.strip():
|
|
80
81
|
field_type = settings_class.model_fields[field_name].annotation
|
|
81
82
|
converted_value = _convert_value(value, field_type)
|
|
@@ -120,7 +121,8 @@ def fill_settings_sync(settings_class: Type[T]) -> T:
|
|
|
120
121
|
[field.upper() for field in fields_to_fetch]
|
|
121
122
|
)
|
|
122
123
|
|
|
123
|
-
for field_name
|
|
124
|
+
for field_name in settings_class.model_fields.keys():
|
|
125
|
+
value = konecty_settings.get(field_name.upper())
|
|
124
126
|
if value is not None and value.strip():
|
|
125
127
|
field_type = settings_class.model_fields[field_name].annotation
|
|
126
128
|
converted_value = _convert_value(value, field_type)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|