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

erro calling db.uuid method #689

Closed
manuelep opened this issue Jun 22, 2022 · 1 comment
Closed

erro calling db.uuid method #689

manuelep opened this issue Jun 22, 2022 · 1 comment

Comments

@manuelep
Copy link

https://github.com/web2py/pydal/blame/v20220609.1/pydal/base.py#L298

db.uuid method is called (as it's normal for a class method) with self as first argument but it correspond to a function that accepts no parameter, so it always raises an exception

at least line 298 in base.py should be substituted with:

uuid = lambda self:  uuidstr()
@mdipierro
Copy link
Contributor

fixed

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

2 participants