-
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
fix(genall): fix genall and use dependency injection, nicer AuthError message #8
Conversation
PR Reviewer Guide 🔍(Review updated until commit 87d25ab)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 87d25ab |
PR Description updated to latest commit (87d25ab) |
PR Type
Enhancement, Tests
Description
FileResponseSchema
model.Changes walkthrough 📝
11 files
corpora_api.py
Implement Corpora API client with CRUD operations
py/packages/corpora_client/api/corpora_api.py
CorporaApi
class with methods for creating and retrievingcorpora and files.
and responses.
api_client.py
Add generic API client for request handling
py/packages/corpora_client/api_client.py
ApiClient
class for handling API requests.deserialization.
configuration.py
Introduce configuration management for API client
py/packages/corpora_client/configuration.py
Configuration
class for managing API client settings.rest.py
Implement REST client for HTTP requests
py/packages/corpora_client/rest.py
RESTClientObject
class for making HTTP requests.types.
exceptions.py
Define custom exceptions for API error handling
py/packages/corpora_client/exceptions.py
file_response_schema.py
Add file response schema model
py/packages/corpora_client/models/file_response_schema.py
FileResponseSchema
class for file response data.CorpusResponseSchema
for nested data.corpus_response_schema.py
Add corpus response schema model
py/packages/corpora_client/models/corpus_response_schema.py
CorpusResponseSchema
class for corpus response data.corpus_schema.py
Add corpus schema model
py/packages/corpora_client/models/corpus_schema.py
CorpusSchema
class for corpus data.file_schema.py
Add file schema model
py/packages/corpora_client/models/file_schema.py
FileSchema
class for file data.main.py
Refactor CLI main entry with typer and API client
py/packages/corpora_cli/main.py
typer
for command-line interface.__init__.py
Initialize API package with CorporaApi import
py/packages/corpora_client/api/init.py
CorporaApi
.1 files
test_file_response_schema.py
Add unit tests for FileResponseSchema
py/packages/corpora_client/test/test_file_response_schema.py
FileResponseSchema
.13 files
test_corpus_response_schema.py
...
py/packages/corpora_client/test/test_corpus_response_schema.py
...
test_corpora_api.py
...
py/packages/corpora_client/test/test_corpora_api.py
...
test_file_schema.py
...
py/packages/corpora_client/test/test_file_schema.py
...
test_corpus_schema.py
...
py/packages/corpora_client/test/test_corpus_schema.py
...
__init__.py
...
py/packages/corpora_client/init.py
...
corpus.py
...
py/packages/corpora_cli/commands/corpus.py
...
api_response.py
...
py/packages/corpora_client/api_response.py
...
__init__.py
...
py/packages/corpora_client/models/init.py
...
constants.py
...
py/packages/corpora_cli/constants.py
...
genall.sh
...
py/genall.sh
...
about-structure.md
...
md/prompts/corpora/about-structure.md
...
ai-summary.md
...
md/prompts/corpora/ai-summary.md
...
.gitattributes
...
.gitattributes
...