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

add update to info #271

Closed
wants to merge 5 commits into from
Closed

add update to info #271

wants to merge 5 commits into from

Conversation

joamatab
Copy link
Collaborator

@joamatab joamatab commented Mar 6, 2024

No description provided.

@github-actions github-actions bot added the enhancement New feature or request label Mar 6, 2024
@sebastian-goeldi
Copy link
Collaborator

What's the reason for needing this?

@joamatab
Copy link
Collaborator Author

joamatab commented Mar 7, 2024

we do a lot of this in gdsfactory

c.info.update(**info_settings)

@sebastian-goeldi
Copy link
Collaborator

Then you only need the dict and not the info object one, right?

That makes this way easier. If you don't need iterable and Info object, I don't see why we should add it here. It just makes the signature unreadable.

@joamatab
Copy link
Collaborator Author

joamatab commented Mar 8, 2024

Yes, good point

Co-authored-by: Sebastian Goeldi <44963764+sebastian-goeldi@users.noreply.github.com>
@joamatab
Copy link
Collaborator Author

Looks good to me,

feel free to merge

@joamatab joamatab mentioned this pull request Mar 11, 2024
@joamatab
Copy link
Collaborator Author

included in this one

#273

@joamatab joamatab closed this Mar 11, 2024
@sebastian-goeldi sebastian-goeldi deleted the add_info_update branch March 14, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants