Skip to content

Conversation

NRHelmi
Copy link
Contributor

@NRHelmi NRHelmi commented Feb 17, 2023

No description provided.

railib/api.py Outdated
PATH_OAUTH_CLIENT = "/oauth-clients"

# logger
logger = logging.getLogger("rai")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Everything looks good except the way we compute the logger name, we should compute it from name of the top level module (railib in this case)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

using __package__ global variable to solve the requirement

@NRHelmi NRHelmi requested a review from torkins March 6, 2023 12:28
@NRHelmi NRHelmi marked this pull request as ready for review March 6, 2023 12:28
@NRHelmi NRHelmi merged commit f0c7611 into main Mar 6, 2023
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.

2 participants