Skip to content

Commit

Permalink
Fix Kafka config module
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gu <[email protected]>
  • Loading branch information
tylergu committed Jan 24, 2025
1 parent fc72d86 commit 1115b9d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions data/strimzi-kafka-operator/v0-45-0/custom_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ def from_original_schema(cls, original_schema: BaseSchema) -> Self:
original_schema.path, original_schema.raw_schema, config_schema
)

def __getitem__(self, key):
return self.underlying_schema[key]

def __setitem__(self, key, value):
self.underlying_schema[key] = value


CUSTOM_PROPERTY_SCHEMA_MAPPING = [
CustomPropertySchemaMapping(
Expand Down

0 comments on commit 1115b9d

Please sign in to comment.