pydantic-settings-helper 0.1.0__tar.gz → 0.2.0__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.

Potentially problematic release.


This version of pydantic-settings-helper might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pydantic-settings-helper
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  Summary: Add your description here
5
5
  Author-email: Sygmei <3835355+Sygmei@users.noreply.github.com>
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pydantic-settings-helper"
3
- version = "0.1.0"
3
+ version = "0.2.0"
4
4
  description = "Add your description here"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -1,3 +1,4 @@
1
+ from typing import Any
1
2
  from pydantic import Field, ValidationError
2
3
  from pydantic_settings import BaseSettings
3
4
 
@@ -37,7 +38,7 @@ def load_settings[SettingsClass: type[BaseSettings]](
37
38
  def SettingsSubModel(
38
39
  *args,
39
40
  **kwargs,
40
- ):
41
+ ) -> Any:
41
42
  """A wrapper for Field to create a settings sub-model."""
42
43
  return Field(
43
44
  *args,