Skip to content

Commit

Permalink
Merge branch 'master' into refresh-token
Browse files Browse the repository at this point in the history
  • Loading branch information
seallard committed Mar 11, 2024
2 parents 3423a6d + 737bb5a commit 3d40af6
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 21.0.8
current_version = 21.1.0
commit = True
tag = True
tag_name = {new_version}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


def upgrade():
op.add_column("user", sa.Column("refresh_token", sa.String(length=128), nullable=True))
op.add_column("user", sa.Column("refresh_token", sa.Text, nullable=True))


def downgrade():
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def parse_reqs(req_path="./requirements.txt"):

setup(
name=NAME,
version="21.0.8",
version="21.1.0",
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_tokens(self, authorization_code: str) -> TokensResponse:
code=authorization_code,
redirect_uri=self.redirect_uri,
)
data: str = request.model_dump_json()
data: dict = request.model_dump()

response = requests.post(self.token_uri, data=data)

Expand Down
Empty file.
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion trailblazer/store/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class User(Model):
id = Column(types.Integer, primary_key=True)
is_archived = Column(types.Boolean, default=False)
name = Column(types.String(128))
refresh_token = Column(types.String(128))
refresh_token = Column(types.Text)

runs = orm.relationship("Analysis", backref="user")

Expand Down

0 comments on commit 3d40af6

Please sign in to comment.