Skip to content

Conversation

yuji38kwmt
Copy link
Collaborator

@yuji38kwmt yuji38kwmt commented Nov 18, 2021

warnings.warnのメッセージの内容に関数名を記載して、分かりやすくした。

before

        warnings.warn("deprecated", FutureWarning)

after

        warnings.warn(
            "annofabapi.AnnofabApi.get_labor_control() is deprecated and will be removed.", FutureWarning, stacklevel=2
        )

@yuji38kwmt yuji38kwmt changed the title Modify warning warnings.warnのメッセージを分かりやすくする Nov 18, 2021
@yuji38kwmt yuji38kwmt merged commit 32f0f77 into master Nov 18, 2021
@yuji38kwmt yuji38kwmt deleted the modify-warning branch November 18, 2021 05:27
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.

1 participant