Skip to content

Conversation

@vincentsarago
Copy link
Member

No description provided.

username=info.data.get("postgres_user"),
password=info.data.get("postgres_pass"),
host=info.data.get("postgres_host", ""),
port=info.data.get("postgres_port", 5432),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pydantic will always cast the host to integer so there is no real need to add int() here, even if it would be technically correct.

@vincentsarago vincentsarago merged commit 53bc146 into main Aug 28, 2023
@vincentsarago vincentsarago deleted the pgSettingsTypeAndTests branch August 28, 2023 01:23
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.

2 participants