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

Setup api #206

Merged
merged 39 commits into from
Aug 1, 2023
Merged

Setup api #206

merged 39 commits into from
Aug 1, 2023

Conversation

GameSetAndMatch
Copy link
Collaborator

Setup app scripts to allow the use of a REST API to serve AddressParser Models

Docker-compose file added along with app definition

deepparse/app/app.py Outdated Show resolved Hide resolved
pytest.ini Outdated Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
setup.py Outdated Show resolved Hide resolved
@GameSetAndMatch GameSetAndMatch marked this pull request as ready for review July 14, 2023 21:20
davebulaval
davebulaval previously approved these changes Jul 15, 2023
deepparse/app/app.py Outdated Show resolved Hide resolved
@davebulaval
Copy link
Collaborator

davebulaval commented Jul 15, 2023

It misses a doc on how to raise the app and use it as an API in the README.md and index.rst. I have placed a placeholder where I see it. It also misses a .env_example to raise the app.

Is it possible to add the API doc to the overall documentation?

@GameSetAndMatch
Copy link
Collaborator Author

Added documentation

davebulaval
davebulaval previously approved these changes Jul 17, 2023
README.md Outdated Show resolved Hide resolved
@davebulaval
Copy link
Collaborator

Is it possible de deactivate sentry in the docker-compose?

@GameSetAndMatch
Copy link
Collaborator Author

Well it is possible to just not use it.

Lets say someone set the SENTRY_DSN env variable set to nothing (SENTRY_DSN=) it will just bypass it and not use Sentry logging. Would that be a good workaround for someone not willing to use it?

README.md Outdated Show resolved Hide resolved
deepparse/app/app.py Show resolved Hide resolved
@davebulaval davebulaval merged commit 7c46a6e into dev Aug 1, 2023
44 checks passed
@davebulaval davebulaval deleted the setup-api branch August 1, 2023 20: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.

2 participants