Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 7, 2024
1 parent ac3f618 commit fc1256a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ocp_resources/user_defined_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import Any, Dict, Optional
from ocp_resources.resource import NamespacedResource, MissingRequiredArgumentError
from kubernetes.dynamic import DynamicClient
from typing import Dict, Any, Optional, List, Callable
from typing import List


class UserDefinedNetwork(NamespacedResource):
Expand Down Expand Up @@ -69,6 +69,7 @@ def to_dict(self) -> None:

# End of generated code


class TopologyType:
"""
This class contains constants for different network topology types used in the UserDefinedNetwork configuration.
Expand All @@ -78,6 +79,8 @@ class TopologyType:
"""

LAYER2 = "Layer2"


class Layer2UserDefinedNetwork(UserDefinedNetwork):
"""
UserDefinedNetwork layer2 object.
Expand Down

0 comments on commit fc1256a

Please sign in to comment.