Skip to content

Commit

Permalink
Timezone support - just to check builds - isort + black
Browse files Browse the repository at this point in the history
  • Loading branch information
mesemus committed May 15, 2024
1 parent a109ae5 commit cd180a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def upgrade():
sa.Column("refresh_token", sqlalchemy_utils.EncryptedType(), nullable=True),
)
op.add_column(
"oauthclient_remotetoken", sa.Column("expires_at", sa.DateTime(timezone=True), nullable=True)
"oauthclient_remotetoken",
sa.Column("expires_at", sa.DateTime(timezone=True), nullable=True),
)


Expand Down
2 changes: 1 addition & 1 deletion invenio_oauthclient/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

"""Models for storing access tokens and links between users and remote apps."""

from datetime import datetime, timezone, timedelta
from datetime import datetime, timedelta, timezone

from flask import current_app

Expand Down

0 comments on commit cd180a5

Please sign in to comment.