Skip to content

Commit

Permalink
Remove failing doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
samscott89 committed Jun 13, 2024
1 parent 2712eaa commit 36f6e85
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions languages/python/sqlalchemy-oso/sqlalchemy_oso/flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,6 @@ class AuthorizedSQLAlchemy(SQLAlchemy):
:param get_user: Callable that returns the user to authorize for the current request.
:param get_checked_permissions: Callable that returns the permissions to authorize for the current request.
>>> from sqlalchemy_oso.flask import AuthorizedSQLAlchemy
>>> db = AuthorizedSQLAlchemy(
... get_oso=lambda: flask.current_app.oso,
... get_user=lambda: flask_login.current_user,
... get_checked_permissions=lambda: {Post: flask.request.method}
... )
.. _flask_sqlalchemy: https://flask-sqlalchemy.palletsprojects.com/en/2.x/
"""

Expand Down

0 comments on commit 36f6e85

Please sign in to comment.