Skip to content

Commit

Permalink
Adapt to python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed May 22, 2024
1 parent b88c29b commit 87a4687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etl_server/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def wrapper(*args, **kw):
for role in roles:
if role in user_roles:
g.permissions = permissions
fargs = inspect.getargspec(func).args
fargs = inspect.getfullargspec(func).args
if 'role' in fargs:
kw['role'] = role
if 'user' in fargs:
Expand Down

0 comments on commit 87a4687

Please sign in to comment.