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

Update Injector code snippets #1

Open
Charlton-A opened this issue Dec 27, 2024 · 0 comments
Open

Update Injector code snippets #1

Charlton-A opened this issue Dec 27, 2024 · 0 comments

Comments

@Charlton-A
Copy link

Getting TypeError: DateInjector.pretty() takes 1 positional argument but 2 were given when using the example snippets on https://emmett.sh/docs/2.6.x/pipeline#injectors. (Python 3.13.1)

Converting the method to instance method or class method fixes the issue.

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

No branches or pull requests

1 participant