Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use pydantic BaseModel for MQTTConfig object #69

Merged
merged 2 commits into from
Sep 24, 2023

Conversation

azogue
Copy link
Collaborator

@azogue azogue commented Sep 2, 2023

Rework of #62, as a result of the discussion in #68

cc @sabuhish @tim-timman @mblo

Changes:

  • ♻️ Use Pydantic's BaseModel for MQTTConfig, instead of BaseSettings
  • 📦️ Bump version to v1.2.0, and require pydantic>=1.10, making it compatible with v2 (it will emit just a warning about ConfigDict)
  • ✏️ Minor formatting changes and typos

and use BaseModel for MQTTConfig instead of BaseSettings
@azogue azogue force-pushed the chore/remove-pydantic-settings branch from cbc8685 to 130335d Compare September 24, 2023 08:20
@sabuhish sabuhish merged commit 9f3e4fa into sabuhish:master Sep 24, 2023
3 checks passed
@azogue azogue deleted the chore/remove-pydantic-settings branch September 24, 2023 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants