Skip to content

Commit

Permalink
fix arg of classmethod
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-D-Lewis committed Mar 29, 2024
1 parent a8bab5c commit 35252ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_nebari/stages/infrastructure/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class DigitalOceanProvider(schema.Base):

@model_validator(mode="before")
@classmethod
def _check_input(self, data: Any) -> Any:
def _check_input(cls, data: Any) -> Any:
digital_ocean.check_credentials()

# check if region is valid
Expand Down

0 comments on commit 35252ef

Please sign in to comment.