Skip to content

Conversation

@sanjayankur31
Copy link
Contributor

This allows us to use it in the various helper methods for better outputs.

This allows us to use it in the various helper methods for better
outputs.
@sanjayankur31 sanjayankur31 added the T: enhancement Type: enhancement label Aug 13, 2024
Also, use `logger.warning` instead of `warnings.warn`
Use cases:

- `component_factory(sometype, __ANY__="something")`
- `l = component_factory(sometype); l.add("something", hint="__ANY__")`

In both, we require the user to give some notion that they are trying to
add a `__ANY__` member.
@sanjayankur31 sanjayankur31 changed the title chore: add logger to generatedssupersuper chore: add logger to generatedssupersuper + support addition of __ANY__ Aug 13, 2024
@sanjayankur31 sanjayankur31 changed the title chore: add logger to generatedssupersuper + support addition of __ANY__ chore: add logger to generatedssupersuper + support addition of __ANY__ + external morph fixing tweaks Aug 22, 2024
@sanjayankur31 sanjayankur31 marked this pull request as ready for review August 22, 2024 10:44
@sanjayankur31 sanjayankur31 merged commit fdb9821 into development Aug 23, 2024
@sanjayankur31 sanjayankur31 deleted the feat/better-warnings branch August 23, 2024 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T: enhancement Type: enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants