Skip to content

Commit

Permalink
Release version 0.0.0.dev14
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Nov 18, 2024
1 parent 0973ae2 commit 7c914d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespaces = true

# ----------------------------------------- Project Metadata -------------------------------------
[project]
version = "0.0.0.dev13"
version = "0.0.0.dev14"
name = "GitHub-Contexts"
requires-python = ">=3.10"
dependencies = [
Expand Down
5 changes: 4 additions & 1 deletion src/github_contexts/property_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ def get(self, name: str, default=None):
return self._data.get(name, default)

def __getattr__(self, name: str):
return self._data[name]
try:
return self._data[name]
except KeyError:
raise AttributeError(f"'{type(self).__name__}' object has no attribute '{name}'")

def __getitem__(self, name: str):
return self._data[name]
Expand Down

0 comments on commit 7c914d2

Please sign in to comment.