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

Create a parameter prefix for updatables #316

Merged
merged 4 commits into from
Sep 21, 2023

Conversation

vitenti
Copy link
Collaborator

@vitenti vitenti commented Sep 20, 2023

No description provided.

* Added the necessary calls to make the current Updatable implementation to pass sacc_tracer as the default parameter_prefix.
@vitenti vitenti linked an issue Sep 20, 2023 that may be closed by this pull request
@vitenti vitenti requested a review from marcpaterno September 21, 2023 00:18
def __init__(self, parameter_prefix: Optional[str] = None) -> None:
"""Updatable initialization.

:param prefix: prefix for all parameters in this Updatable
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should fix the documentation so that it matches the argument name “parameter_prefix” (or change the code to match the comment).

@marcpaterno marcpaterno merged commit c2a6b75 into master Sep 21, 2023
6 checks passed
@marcpaterno marcpaterno deleted the 315-create-a-parameter_prefix-for-updatables branch September 21, 2023 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a parameter_prefix for Updatables
2 participants