-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/m3o dbaas #30
Conversation
…est case for added_since
…pi adapter with dummy repos module to test api calls. ignoring [no-any-unimported] for starlette Request
…odules in python executable and mypy config set to pyproject.toml. update mypy ignore in app.py
…. this is needed to set within project scope virtualenv. this allows setting virtualenv and installing poetry packages locally.
…ernal deployment services
… cors middleware on app server
Sourcery Code Quality Report❌ Merging this PR will decrease code quality in the affected files by 0.08%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |
* updated Structure of core project * smaller header style * added geolocation and added_since fields. added application service test case for added_since * Format code with black and isort * commented description on complex regex string * added mypy to poetry, updated precommit. refactored and updates fastapi adapter with dummy repos module to test api calls. ignoring [no-any-unimported] for starlette Request * no need of requirements file. updated pre-commit mypy to resolve to modules in python executable and mypy config set to pyproject.toml. update mypy ignore in app.py * updated readme to add poetry.toml; this is not extensively documented. this is needed to set within project scope virtualenv. this allows setting virtualenv and installing poetry packages locally. * Format code with black and isort * shortened command is easier to reproduce, port and build in CI on external deployment services * adding another dockerfile that works as image for cloud run. updating cors middleware on app server * Format code with black and isort * Add a shebang or a 'shell' directive. * error when it errs * Format code with black and isort Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Sourcery AI <>
… bootstrap.py and di_builder. updated logic in m3o repo.
This feature branch implements m3o database adapter.
A good way to locally test is like
docker run -it --rm -p 8081:8080 -e LOCAL_PORT=8080 -e DOCUMENTATION_API=0.0.0.0:8080 -e M3O_API_TOKEN=$M3O_API_TOKEN -e ENV=test
where M3O_API_TOKEN is the API token from M3O account.
start.sh
to run on test or prod level;