Skip to content

Commit

Permalink
Mark helper property as internal
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted committed Oct 11, 2023
1 parent 5a21852 commit 42b11ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kpops/utils/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ def __contains__(self, key: object) -> bool:
return super().__contains__(key) or self._global.__contains__(key)

@property
def dict(self) -> dict[str, str]:
def _dict(self) -> dict[str, str]:
return {**self._global, **self.data}

def keys(self) -> KeysView[str]:
return KeysView(self.dict)
return KeysView(self._dict)

def values(self) -> ValuesView[str]:
return ValuesView(self.dict)
return ValuesView(self._dict)

def items(self) -> ItemsView[str, str]:
return ItemsView(self.dict)
return ItemsView(self._dict)


ENV = Environment()

0 comments on commit 42b11ff

Please sign in to comment.