Skip to content

Commit

Permalink
disable mypy check for unknown keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
bschimke95 committed Apr 19, 2024
1 parent adb0478 commit d956342
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charms/worker/k8s/lib/charms/k8s/v0/k8sd_api_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ class UserFacingClusterConfig(BaseModel):
metrics_server: MetricsServerConfig = Field(None, alias="metrics-server")


class UserFacingDatastoreConfig(BaseModel, allow_population_by_field_name=True):
class UserFacingDatastoreConfig(BaseModel, allow_population_by_field_name=True): # type: ignore[call-arg]
"""Aggregated configuration model for the user-facing datastore aspects of a cluster.
Attributes:
Expand Down
2 changes: 1 addition & 1 deletion charms/worker/k8s/src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def _enable_functionalities(self):
K8sdConnectionError,
)
def _ensure_cluster_config(self):
"""Ensure that the cluster configuration is up-to-date
"""Ensure that the cluster configuration is up-to-date.
The snap will detect any changes and only perform necessary steps.
There is no need to track changes in the charm.
Expand Down

0 comments on commit d956342

Please sign in to comment.