Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Conversation

MarinPostma
Copy link
Contributor

Add version check to python package

@@ -40,6 +70,9 @@ async def batch(self, stmts: List[_RawStmt]) -> List[ResultSet]:
async def close(self) -> None:
await self._session.close()

def queries_url(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto, it would be better to prefix the private method with _. Also, perhaps we should add the logic for switching between / and /queries here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes this is a placeholder for switching the route, but the queries route is not yet merged, and this will be merged first

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case, perhaps we should merge this PR later? At this point, it's just a noop that introduces extra latency.

@honzasp
Copy link
Contributor

honzasp commented Feb 17, 2023

bors merge

@bors
Copy link
Contributor

bors bot commented Feb 17, 2023

Build succeeded:

@bors bors bot merged commit af3fd34 into main Feb 17, 2023
@MarinPostma MarinPostma deleted the python-check-version branch August 25, 2023 13:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants