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

build oai #17

Merged
merged 112 commits into from
Feb 10, 2025
Merged

build oai #17

merged 112 commits into from
Feb 10, 2025

Conversation

kyokukou
Copy link
Contributor

No description provided.

kyokukou and others added 27 commits January 10, 2025 13:38
change start date to earliest modtime of a paper with a current version.
added test for creating list of records, finished removing todos
increased speed of list fetching, increased limits on data return
@kyokukou kyokukou requested a review from a team January 28, 2025 18:22
Copy link

@bdc34 bdc34 left a comment

Choose a reason for hiding this comment

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

Some minor comments to fix in future PRs.

A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
Copy link

Choose a reason for hiding this comment

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

This list is a bit strange since this is a XML API.

A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.
Copy link

Choose a reason for hiding this comment

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

Also strange for a XML API.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think I copied these over from another repository on accident. Should i remove them?

SQLALCHEMY_MAX_OVERFLOW: Optional[int] = 0
SQLALCHEMY_POOL_SIZE: Optional[int] = 10

FLASKS3_CDN_DOMAIN: str = "static.arxiv.org"
Copy link

Choose a reason for hiding this comment

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

Are these FLASKS3 configs needed?

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 unfortunately or base has problems. also helps source the very few static assets

return app


def setup_trace(name: str, app: Flask): # type: ignore
Copy link

Choose a reason for hiding this comment

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

This is likely unused and can be removed.

@kyokukou kyokukou merged commit 27c3909 into main Feb 10, 2025
6 checks passed
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.

2 participants