Merged
Conversation
…ve unused worker files
…to remove unnecessary mock_request assignments
…as, and enhance test cases for user service and authorization
…reordering imports, and adding a new method to find users by Clerk ID. Update the mock authorization context in tests to include user ID and email properties.
…t, refactor security module to handle exceptions more gracefully, and enhance permission checks in service classes to require authorization context.
…e RoleEnum for user role. Update app fixture in conftest.py to return an Iterator for FastAPI and modify database session handling to use run_sync for database creation.
…uence instead of list for return types, ensuring better compatibility with various iterable types. Update return statements to handle potential None values gracefully.
…ations, add validation for entity existence in update and delete methods, and update validation methods to return boolean values. This improves error handling and ensures proper permission checks.
…and maintain code clarity.
… for email and timezone, and add dnspython and email-validator packages in the lock file. Refactor security module to use AsyncSession for session management in user authentication methods.
…ve migration context setup
…yproject.toml to include user generation script, and clean up README.md by removing outdated project metadata.
… note from Alembic configuration, and add initial migration script for users and api_keys tables.
…ect.toml to support editable installs and limit package discovery. Add migration generation instructions to README.md. Introduce initial Alembic migration for users and api_keys tables. Refactor permission checks in service mixins to streamline authorization logic and improve clarity.
…ras for FastAPI and add new packages in the lock file. Modify router to streamline webhook router configuration by removing unnecessary tags.
… files for debugging, and enhance user management API with new filters and improved permission checks. Update README.md with migration instructions and ensure consistent test environment setup.
…from docker-compose.yml, streamline Dockerfile stages, and enhance Makefile commands to utilize uv for running tasks. Add pytest-cov to pyproject.toml for improved test coverage reporting. Update README.md with new domain creation instructions and clean up code by removing unnecessary whitespace in various files.
…dd login credentials to .env.sample, update docker-compose files to utilize these credentials, and streamline Makefile commands for managing app and Prefect services.
…e a new script for initializing Prefect work pools, enhance docker-compose.yml with authentication details, and add a Makefile target for Prefect setup.
…troduce a new task for user creation in task_database.py, while removing the outdated task_example.py. Update pyproject.toml and uv.lock to include the new dependency.
…the Prefect-specific session function with an async context manager for better integration with SqlAlchemyConnector. Add PREFECT_BLOCK_NAME_SQLALCHEMY to the sample environment file for configuration.
…hange log file path to 'logs/app.log' for better organization and prevent log files from being tracked by Git.
…ting tests.yml with a comprehensive ci.yml that includes type checks with ty, linting with Ruff, and tests using Pytest, while configuring PostgreSQL as a service for the test job.
…dency, add 'pyjwt', and include new packages 'click-option-group', 'deprecated', 'dotty-dict', 'gitdb', and 'gitpython' with their respective versions.
…credentials and database name.
…ory protocol for better instantiation control. Update method signatures to use Sequence instead of list for improved type consistency. Enhance pyproject.toml to include tool.ty.src configuration for better source management.
…xt handling in scope strategies, ensuring that apply_scope always receives a non-None context.
…parameters and enhancing documentation. Update UserService and APIKeyService to utilize class-level repository and exception attributes.
… for authorization context to ensure non-None values during user operations.
… role assignment, enhancing type safety and clarity.
…zation by removing default model parameter. Update UUIDMixin to improve type safety with explicit type ignore. Enhance error handling in get_prefect_db_session for better clarity on loading failures.
…tabase name for improved clarity and consistency.
…ts for UUID column definitions in the model.
…w syntax and improve type safety. Adjust test mocks to use MagicMock for better compatibility with async methods.
…cation tests to use MagicMock with async methods for improved compatibility and reliability.
…es and update db_session fixture for improved compatibility with async testing.
…or improved async compatibility across repository and service tests.
…for improved async test execution consistency.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Template domain driven design