Skip to content

Commit

Permalink
revert commits from explicit schema branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-D-Lewis committed May 17, 2024
1 parent f172e8b commit cbb82e0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/_nebari/stages/infrastructure/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,13 +565,6 @@ class InputSchema(schema.Base):
azure: Optional[AzureProvider] = None
digital_ocean: Optional[DigitalOceanProvider] = None

def exclude_from_config(self):
exclude = set()
for provider in InputSchema.model_fields:
if getattr(self, provider) is None:
exclude.add(provider)
return exclude

@model_validator(mode="before")
@classmethod
def check_provider(cls, data: Any) -> Any:
Expand Down

0 comments on commit cbb82e0

Please sign in to comment.