Skip to content

Commit

Permalink
Merge a4de162 into ccefb26
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ committed Feb 22, 2023
2 parents ccefb26 + a4de162 commit 7c09315
Show file tree
Hide file tree
Showing 10 changed files with 986 additions and 531 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
installer-parallel: true
- name: Install package
run: |
poetry install --no-interaction --all-extras
poetry install --all-extras --without notebook
- name: Pytest
run: |
source .venv/bin/activate
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class Human(ZnInit):
julian = Human(name="Julian")
print(julian) # Human(language='DE', name='Julian')
print(julian.date) # 2022-09-16
print(Input.get_dict(julian)) # {"name": "Julian", "language": "DE"}
````
One benefit of ``ZnInit`` is that it also allows for inheritance.

Expand Down

0 comments on commit 7c09315

Please sign in to comment.