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

remove redundant pydantic class, fix bug #2426

Merged
merged 1 commit into from Apr 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 1 addition & 6 deletions src/_nebari/stages/infrastructure/__init__.py
Expand Up @@ -57,19 +57,14 @@ class DigitalOceanInputVars(schema.Base):
kubeconfig_filename: str = get_kubeconfig_filename()


class GCPGuestAccelerators(schema.Base):
Copy link
Member Author

Choose a reason for hiding this comment

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

Notice the nearly identical class on line 301 in this file

name: str
count: int


class GCPNodeGroupInputVars(schema.Base):
name: str
instance_type: str
min_size: int
max_size: int
labels: Dict[str, str]
preemptible: bool
guest_accelerators: List[GCPGuestAccelerators]
guest_accelerators: List["GCPGuestAccelerator"]
viniciusdc marked this conversation as resolved.
Show resolved Hide resolved


class GCPPrivateClusterConfig(schema.Base):
Expand Down