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

Fixed comments that do not reflect the PostGenerationContext changes. #1108

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Antoliny0919
Copy link
Contributor

In commit e19142c, the PostGenerationContext class was moved from builders.py to declarations.py with minor modifications.

class PostGenerationDeclaration(BaseDeclaration):
    ...
    def call(self, instance, step, context):  # pragma: no cover
        """Call this hook; no return value is expected.

        Args:
            instance (object): the newly generated object
            step (bool): whether the object was 'built' or 'created'
            context: a builder.PostGenerationContext containing values
                extracted from the containing factory's declaration
        """
        raise NotImplementedError()

Following the application of this commit, the call method's comments in the PostGenerationDeclaration class regarding the context parameter should update the reference from builder.PostGenerationContext to declarations.PostGenerationContext.

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