Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/data-api #64

Merged
merged 28 commits into from
Aug 28, 2023
Merged

feat/data-api #64

merged 28 commits into from
Aug 28, 2023

Conversation

almosnow
Copy link
Contributor

No description provided.

A single endpoint for all Serratus API operations
changed default cache timeout from 0 (!) to one day
added route to clear cache /data/cache/clear (GET)
/data/<view> (GET) is a cached map to /data/<view> (POST)
+ column fields are now filled up automatically based on the table schema
+ added GET -> POST request mapping
+ docs
changed limit, offset to _limit, _offset query parameters
added __columns__ property to db model classes
added 'greater than', 'less than' query clauses
      added dfamily, dphylum, dsequence and rsra tables
      (granted select privilege to viewer on db)

fix: explicitly closing SQL connections from model builder
      (a merge error happened, unsure why)
(contrary to what the SQLAlchemy docs suggest for sessionmaker)
@almosnow almosnow merged commit 7195a30 into main Aug 28, 2023
1 check failed
@almosnow almosnow deleted the feat/data-api branch August 28, 2023 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant