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

Allow setting anything with env vars #312

Closed
wants to merge 1 commit into from

Conversation

spookyuser
Copy link

No description provided.

Copy link
Contributor

@DamianCzajkowski DamianCzajkowski left a comment

Choose a reason for hiding this comment

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

This code has caused several tests to fail, and it seems that the validation logic was altered unintentionally. Please revert the changes and rerun the tests to ensure they pass. Once the tests are stable, you can re-submit the pull request for review.

@@ -49,7 +53,21 @@ def __post_init__(self):
if self.schema_path:
assert_path_exists(self.schema_path)

self.remote_schema_headers = resolve_headers(self.remote_schema_headers)
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like a crucial line of code was removed, which is necessary for the logic to work correctly. Please restore it, as its absence is causing functionality issues.

@@ -74,9 +92,10 @@ class ClientSettings(BaseSettings):
scalars: Dict[str, ScalarData] = field(default_factory=dict)

def __post_init__(self):
super().__post_init__()
Copy link
Contributor

Choose a reason for hiding this comment

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

This change is breaking the tests. Please review and fix the issue to ensure the tests pass.

@DamianCzajkowski
Copy link
Contributor

Could you also please add a description of what this pull request introduces? It would be helpful to include examples and clarify the specific issues it resolves.

@spookyuser spookyuser closed this Sep 4, 2024
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