Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored ModelProperty. #914

Merged
merged 14 commits into from
Nov 29, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
📚🩹 Fix missing f in front of f-string
s-weigand committed Nov 28, 2021
commit 7cf1f7a140007079d7979bf0405fd20a611358ef
2 changes: 1 addition & 1 deletion glotaran/model/item.py
Original file line number Diff line number Diff line change
@@ -301,7 +301,7 @@ def as_dict(self) -> dict:
def _fill_factory(cls):
@wrap_func_as_method(cls)
def fill(self, model: Model, parameters: ParameterGroup) -> cls:
"""Returns a copy of the {cls._name} instance with all members which are Parameters are
f"""Returns a copy of the {cls.__name__} instance with all members which are Parameters are
replaced by the value of the corresponding parameter in the parameter group.
Parameters