-
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
feat(api): add owner to corpus and auth to API. oauth2 provider start bearer token. frame CLI #7
Conversation
PR Reviewer Guide 🔍(Review updated until commit ed68067)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
/review |
/describe |
Persistent review updated to latest commit ed68067 |
PR Description updated to latest commit (ed68067) |
/ask "This is an early pull request to a new, ambitious repo. The scope has grown too large for a single change request. But, the changes will go in now. Can you please summarize the TODO items that have been left in various files of this PR?" |
Ask❓this is an early pull request to a new, ambitious repo. the scope has grown too large for a single change request. but, the changes will go in now. can you please summarize the todo items that have been left in various files of this pr? Answer:The provided PR diff does not explicitly show any TODO comments within the code. However, given the nature of the changes and the description provided, here are some potential areas where TODO items might be relevant:
These areas are inferred based on typical development practices and the scope described in the PR. It would be beneficial to review the actual codebase for any specific TODO comments or areas that require further attention. |
I'm guessing that somewhere in the pipeline the token limit was hit. Maybe we should find a different way than checking in the generated code. |
PR Type
Enhancement, Tests
Description
ApiClient
for handling HTTP requests and responses, including serialization and authentication.PRDescriptionHeader.CHANGES_WALKTHROUGH
8 files
corpora_api.py
Implement Corpora API client with CRUD operations
py/gen/corpora_client/corpora_client/api/corpora_api.py
CorporaApi
class with methods for creating and retrievingcorpora and files.
responses.
api_client.py
Add ApiClient for handling HTTP requests and responses
py/gen/corpora_client/corpora_client/api_client.py
ApiClient
class for handling API requests.configuration.py
Create Configuration class for API client settings
py/gen/corpora_client/corpora_client/configuration.py
Configuration
class for managing API client settings.rest.py
Develop REST client for HTTP request handling
py/gen/corpora_client/corpora_client/rest.py
RESTClientObject
for making HTTP requests.exceptions.py
Define custom exceptions for API error handling
py/gen/corpora_client/corpora_client/exceptions.py
file_response_schema.py
Create FileResponseSchema model for file data representation
py/gen/corpora_client/corpora_client/models/file_response_schema.py
FileResponseSchema
model for file response data.corpus_response_schema.py
Develop CorpusResponseSchema model for corpus data representation
py/gen/corpora_client/corpora_client/models/corpus_response_schema.py
CorpusResponseSchema
model for corpus response data.main.py
Set up Typer CLI for corpora management with authentication
py/packages/corpora_cli/main.py
2 files
test_api.py
Add async test cases for API endpoints with OAuth2 authentication
py/packages/corpora/test_api.py
test_config.py
Add tests for CLI configuration loading and validation
py/packages/corpora_cli/test_config.py
substitution.
files.
60 files
auth.py
...
py/packages/corpora_cli/auth.py
...
test_file_response_schema.py
...
py/gen/corpora_client/test/test_file_response_schema.py
...
corpus_schema.py
...
py/gen/corpora_client/corpora_client/models/corpus_schema.py
...
file_schema.py
...
py/gen/corpora_client/corpora_client/models/file_schema.py
...
test_auth.py
...
py/packages/corpora_cli/test_auth.py
...
test_corpus_response_schema.py
...
py/gen/corpora_client/test/test_corpus_response_schema.py
...
config.py
...
py/packages/corpora_cli/config.py
...
test_corpora_api.py
...
py/gen/corpora_client/test/test_corpora_api.py
...
setup.py
...
py/gen/corpora_client/setup.py
...
test_file_schema.py
...
py/gen/corpora_client/test/test_file_schema.py
...
test_corpus_schema.py
...
py/gen/corpora_client/test/test_corpus_schema.py
...
api.py
...
py/packages/corpora/api.py
...
__init__.py
...
py/gen/corpora_client/corpora_client/init.py
...
settings.py
...
py/packages/corpora_proj/settings.py
...
auth.py
...
py/packages/corpora/auth.py
...
0003_corpus_owner.py
...
py/packages/corpora/migrations/0003_corpus_owner.py
...
api_response.py
...
py/gen/corpora_client/corpora_client/api_response.py
...
__init__.py
...
py/gen/corpora_client/corpora_client/models/init.py
...
models.py
...
py/packages/corpora/models.py
...
urls.py
...
py/packages/corpora_proj/urls.py
...
file.py
...
py/packages/corpora_cli/commands/file.py
...
corpus.py
...
py/packages/corpora_cli/commands/corpus.py
...
asgi.py
...
py/packages/corpora_proj/asgi.py
...
wsgi.py
...
py/packages/corpora_proj/wsgi.py
...
manage.py
...
py/packages/corpora_proj/manage.py
...
__init__.py
...
py/gen/corpora_client/corpora_client/api/init.py
...
git_push.sh
...
py/gen/corpora_client/git_push.sh
...
setup.sh
...
.devcontainer/setup.sh
...
genall.sh
...
py/genall.sh
...
CorporaApi.md
...
py/gen/corpora_client/docs/CorporaApi.md
...
README.md
...
py/gen/corpora_client/README.md
...
pyproject.toml
...
py/gen/corpora_client/pyproject.toml
...
.corpora.yaml
...
.corpora.yaml
...
README.md
...
py/packages/corpora/README.md
...
Dockerfile
...
.devcontainer/Dockerfile
...
TODO.md
...
TODO.md
...
FileResponseSchema.md
...
py/gen/corpora_client/docs/FileResponseSchema.md
...
CorpusResponseSchema.md
...
py/gen/corpora_client/docs/CorpusResponseSchema.md
...
FILES
...
py/gen/corpora_client/.openapi-generator/FILES
...
.gitlab-ci.yml
...
py/gen/corpora_client/.gitlab-ci.yml
...
.openapi-generator-ignore
...
py/gen/corpora_client/.openapi-generator-ignore
...
python.yml
...
py/gen/corpora_client/.github/workflows/python.yml
...
FileSchema.md
...
py/gen/corpora_client/docs/FileSchema.md
...
CorpusSchema.md
...
py/gen/corpora_client/docs/CorpusSchema.md
...
.travis.yml
...
py/gen/corpora_client/.travis.yml
...
README.md
...
py/packages/README.md
...
ci-python.yml
...
.github/workflows/ci-python.yml
...
pr-agent.yml
...
.github/workflows/pr-agent.yml
...
test-requirements.txt
...
py/gen/corpora_client/test-requirements.txt
...
requirements.txt
...
py/requirements.txt
...
tox.ini
...
py/gen/corpora_client/tox.ini
...
requirements.txt
...
py/packages/corpora_cli/requirements.txt
...
requirements.txt
...
py/gen/corpora_client/requirements.txt
...
openapitools.json
...
py/openapitools.json
...
requirements.txt
...
py/packages/corpora/requirements.txt
...
README.md
...
py/packages/corpora_proj/README.md
...
pytest.ini
...
py/pytest.ini
...
setup.cfg
...
py/gen/corpora_client/setup.cfg
...
VERSION
...
py/gen/corpora_client/.openapi-generator/VERSION
...
.gitattributes
...
.gitattributes
...