swiftpy-framework 0.4.0__tar.gz → 0.4.1.post1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/.github/workflows/ci.yml +57 -1
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/CHANGELOG.md +40 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/PKG-INFO +3 -1
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/README.md +2 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-14-installation-quick-start.md +4 -4
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-15-authentication-and-security.md +1 -1
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-15-validation-and-form-requests.md +71 -11
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-19-application-schemas.md +2 -1
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/pyproject.toml +1 -1
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/__init__.py +10 -1
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/auth/auth_manager.py +175 -50
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/commands/new.py +1 -1
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/core/application.py +18 -4
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/factories.py +10 -3
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/orm/model.py +15 -5
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/http/request.py +96 -1
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/http/router.py +5 -2
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/schemas/base.py +54 -6
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/schemas/fields.py +4 -4
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/validation/form_request.py +231 -17
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/validation/rules/registry.py +25 -10
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/validation/rules/unique.py +90 -5
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/validation/validator.py +177 -20
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/auth/test_auth_proxy.py +278 -29
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/console/test_phase9_cli_remediation.py +5 -2
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/schemas/test_schema_auth.py +34 -1
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/schemas/test_schemas.py +12 -0
- swiftpy_framework-0.4.1.post1/tests/typing/test_auth_typing.py +87 -0
- swiftpy_framework-0.4.1.post1/tests/typing/test_validation_typing.py +186 -0
- swiftpy_framework-0.4.1.post1/tests/validation/test_db_rules.py +758 -0
- swiftpy_framework-0.4.1.post1/tests/validation/test_validation_ergonomics.py +688 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/uv.lock +1 -1
- swiftpy_framework-0.4.0/tests/validation/test_db_rules.py +0 -269
- swiftpy_framework-0.4.0/tests/validation/test_validation_ergonomics.py +0 -257
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/.dockerignore +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/.env.example +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/.github/workflows/publish.yml +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/.gitignore +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/CONTRIBUTING.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/Dockerfile +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/LICENSE +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/ai/agents/assistant_agent.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/ai/observers/.gitkeep +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/ai/pipelines/.gitkeep +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/ai/providers/.gitkeep +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/ai/tools/system_status_tool.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/ai/vectorstores/.gitkeep +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/events/user_registered.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/http/controllers/user_controller.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/http/handler/exceptions.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/http/middleware/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/http/middleware/admin_middleware.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/http/middleware/auth_middleware.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/http/middleware/test_middleware.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/http/requests/create_user_request.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/http/resources/user_resource.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/jobs/send_notification_job.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/listeners/send_welcome_notification.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/mail/welcome_email.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/models/profile.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/models/user.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/providers/app_service_provider.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/providers/auth_service_provider.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/providers/cache_service_provider.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/providers/database_service_provider.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/providers/event_service_provider.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/providers/filesystem_service_provider.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/providers/mail_service_provider.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/providers/queue_service_provider.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/repositories/user_repository.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/schemas/user_schema.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/app/services/user_service.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/bootstrap/cache/.gitkeep +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/config/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/config/ai.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/config/app.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/config/auth.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/config/cache.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/config/cors.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/config/database.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/config/events.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/config/filesystems.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/config/http.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/config/logging.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/config/mail.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/config/queue.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/config/schedule.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/database/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/database/migrations/2026_01_01_000000_create_users_table.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/database/migrations/2026_11_26_180006_create_profiles_table.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/database/migrations/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/database/seeders/database_seeder.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/docker-compose.yml +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-15-ai-subsystem.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-15-cache-events-and-queues.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-15-core-application-di-and-config.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-15-database-query-builder-and-migrations.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-15-filesystem-storage-and-mail.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-15-http-routing-middleware-and-exceptions.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-15-orm-models-and-relationships.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-15-websockets-and-admin.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-19-cli-and-testing.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-19-database-schema-and-blueprint.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-20-error-handling.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-20-logging.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-20-request-and-responses.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-21-application-architecture-and-project-structure.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-21-cors.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/documentations/2026-11-22-task-scheduling.md +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/main.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/prompts/classify.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/prompts/summarise.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/red-black.png +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/routes/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/routes/api.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/.gitignore +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/_deterministic.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/_fake.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/agents/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/agents/base_agent.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/agents/memory.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/client.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/conversation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/embeddings.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/exceptions.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/history_strategies.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/middleware.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/observability/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/observability/drivers.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/observability/observer.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/pool.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/pricing.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/prompts/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/prompts/loader.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/providers/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/providers/anthropic_provider.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/providers/base.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/providers/openai_provider.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/rag/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/rag/context_formatter.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/rag/pipeline_builder.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/rag/reranker.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/rag/result.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/rag/retriever.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/redis_store.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/streaming.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/tools/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/tools/base_tool.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/tools/first_party.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/tools/tool_loop.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/vectorstore/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/vectorstore/base.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/vectorstore/chroma_adapter.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/vectorstore/in_memory_adapter.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/vectorstore/lancedb_adapter.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/vectorstore/pgvector_adapter.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/vectorstore/pinecone_adapter.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/ai/vectorstore/qdrant_adapter.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/auth/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/auth/api_key_guard.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/auth/events.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/auth/exceptions.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/auth/jwt_guard.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/auth/jwt_issuer.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/auth/throttle.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/auth/token_blacklist.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/auth/user_context.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/auth_manager.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/cache/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/cache/cache.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/cache/driver.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/cache/drivers/memory.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/cache/drivers/redis.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/cli.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/commands/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/commands/cache.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/commands/make.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/commands/migrate.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/commands/queue.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/commands/schedule.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/commands/seed.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/commands/start.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/commands/storage.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/loader.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/agent.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/controller.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/event.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/factory.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/job.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/listener.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/mail.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/middleware.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/migration.alter.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/migration.api_keys.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/migration.blank.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/migration.create.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/migration.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/migration.update.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/model.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/prompt.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/provider.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/repository.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/request.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/resource.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/schema.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/seeder.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/service.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/console/stubs/tool.stub +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/core/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/core/bootstrap.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/core/config.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/core/container.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/core/container_exceptions.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/core/context.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/core/exceptions.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/core/providers/base.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/exceptions.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/identifiers.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/migrations/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/migrations/blueprint.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/migrations/lock.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/migrations/migration.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/migrations/migrator.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/migrations/schema.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/orm/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/orm/fields.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/orm/registry.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/orm/relationships.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/pagination/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/pagination/contracts.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/pagination/paginator.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/pagination/simple_paginator.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/pool.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/query_builder.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/seeder.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/database/transaction.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/events/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/events/dispatcher.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/events/redis_bus.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/disk.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/drivers/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/drivers/base.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/drivers/local.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/drivers/s3.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/events.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/exceptions.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/manager.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/metadata.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/paths.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/service_provider.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/uploads/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/uploads/handlers.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/uploads/uploaded_file.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/uploads/validators.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/filesystem/visibility.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/helpers/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/helpers/helper.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/http/client_ip.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/http/exceptions.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/http/middleware.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/http/response.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/logging/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/logging/channels.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/logging/log.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/logging/manager.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/attachments.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/config.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/envelope.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/exceptions.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/facade.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/mailable.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/manager.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/message.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/models.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/queue/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/queue/job.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/service_provider.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/templates/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/templates/renderer.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/transports/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/transports/api/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/transports/api/base.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/transports/api/mailgun.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/transports/api/resend.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/transports/api/sendgrid.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/transports/base.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/transports/console.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/transports/sendmail.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/mail/transports/smtp.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/py.typed +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/queue/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/queue/dispatcher.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/queue/job.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/queue/worker.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/scheduling/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/scheduling/_redis_lua.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/scheduling/cron.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/scheduling/events.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/scheduling/exceptions.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/scheduling/jobs.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/scheduling/models.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/scheduling/scheduler.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/scheduling/signing.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/scheduling/store.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/schemas/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/support/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/support/hashing.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/support/keys.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/support/redis_config.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/support/strings.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/testing/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/testing/fakes/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/testing/fakes/ai_fake.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/testing/fakes/vectorstore_fake.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/testing/fixtures.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/testing/http_client.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/testing/test_case.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/validation/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/validation/exceptions.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/validation/protocols.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/validation/rules/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/validation/rules/builtin.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/validation/rules/exists.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/validation/rules/required.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/websockets/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/websockets/connection.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/swiftpy/websockets/manager.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/conftest.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/integration/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/integration/test_chroma.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/integration/test_lancedb.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/integration/test_pinecone.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/integration/test_qdrant.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/integration/test_rag_integration.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_agents.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_ai_fake.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_ai_fake_isolation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_client.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_conversation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_embeddings.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_middleware.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_middleware_concurrency.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_observability.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_observability_resilience.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_phase7_ai_remediation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_phase8_agents_tools_prompts_remediation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_phase8_rag_remediation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_phase8_vectorstore_remediation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_prompts.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_prompts_security.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_providers.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_rag.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_streaming.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_tools.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_vectorstore.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/ai/test_vectorstore_adapters.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/app/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/app/test_application_providers.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/app/test_starter_auth.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/auth/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/auth/test_api_key_guard.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/auth/test_auth_attempt.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/auth/test_auth_context_on_issue.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/auth/test_auth_manager.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/auth/test_auth_remediation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/auth/test_auth_security.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/auth/test_auth_throttle.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/auth/test_jwt_defaults.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/auth/test_jwt_issuer.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/auth/test_password_hashing.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/auth/test_refresh_and_logout.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/auth/test_token_blacklist.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/benchmarks.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/cache/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/cache/test_cache_concurrency.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/cache/test_cache_manager.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/cache/test_driver_correctness.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/cache/test_memory_cache.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/cache/test_redis_cache.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/concurrency/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/concurrency/test_circular_dependency.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/concurrency/test_container_semantics.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/concurrency/test_resolution.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/concurrency/test_resolution2.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/conftest.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/console/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/console/test_cache_commands.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/console/test_cli.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/console/test_new_command.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/console/test_start.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/console/test_storage_command.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/console/test_stubs_and_make.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/core/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/core/test_application_config_isolation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/core/test_core_config.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/core/test_exceptions.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/core/test_helpers.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/core/test_instance_singletons.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/core/test_lifespan.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/database/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/database/test_factories.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/database/test_orm_expansion.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/database/test_orm_vector.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/database/test_pagination_and_grouping.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/database/test_pagination_pg_integration.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/database/test_pgvector_integration.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/database/test_phase4_remediation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/database/test_query_expansion.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/database/test_query_expansion_pg_integration.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/database/test_query_helpers_v036.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/database/test_seeder.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/database/test_sequence_gaps.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/db/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/db/load_test_database.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/db/load_test_database2.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/db/test_arbitrary_primary_keys.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/db/test_identifiers.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/db/test_mass_writes.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/db/test_pool_config.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/db/test_query_builder_terminals.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/db/test_sql_injections.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/db/test_transaction_isolation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/docs/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/docs/test_readme_examples.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/e2e/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/e2e/test_concurrent_auth.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/e2e/test_crud_auth_e2e.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/events/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/events/test_event_dispatcher.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/events/test_model_events.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/events/test_redis_bus.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/events/test_redis_bus_reliability.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/filesystem/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/filesystem/test_cli_storage_link.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/filesystem/test_disk.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/filesystem/test_filesystem_concurrency.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/filesystem/test_filesystem_config.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/filesystem/test_http_integration.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/filesystem/test_local_driver.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/filesystem/test_multipart.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/filesystem/test_paths.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/filesystem/test_phase6_filesystem_remediation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/filesystem/test_s3_driver.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/filesystem/test_signed_urls.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/filesystem/test_storage_facade.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/filesystem/test_uploaded_file.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/filesystem/test_validation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/http/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/http/test_client_ip.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/http/test_controller_routing.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/http/test_error_pipeline.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/http/test_http_remediation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/http/test_include_router.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/http/test_request.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/http/test_request_router_abort.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/http/test_response.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/http/test_route_groups.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/http/test_router.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/http/test_router_405_and_has_file.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/integration/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/integration/test_queue_event_websocket.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/logging/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/logging/test_logging.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/mail/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/mail/test_api_transports.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/mail/test_attachments.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/mail/test_cli_make_mail.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/mail/test_console_transport.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/mail/test_envelope.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/mail/test_facade_and_fake.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/mail/test_mailable.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/mail/test_manager_and_config.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/mail/test_message.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/mail/test_phase6_mail_remediation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/mail/test_queue_integration.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/mail/test_service_provider_and_helpers.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/mail/test_smtp_and_sendmail.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/mail/test_templates.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/migrations/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/migrations/test_migrations.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/migrations/test_migrations_v040.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/orm/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/orm/test_defaults_dirty.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/orm/test_eager_loading.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/orm/test_hidden.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/orm/test_instance_update.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/orm/test_mass_assignment.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/orm/test_model_events_transaction.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/orm/test_relationships_hardening.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/orm/test_where_has.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/queue/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/queue/test_after_commit.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/queue/test_phase5_remediation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/queue/test_poison_messages.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/queue/test_queue.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/queue/test_reliability.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/queue/test_signing.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/queue/test_worker_behavior.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/scheduling/test_cron_and_timezone.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/scheduling/test_scheduler_core.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/scheduling/test_scheduler_lifecycle_and_cli.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/scheduling/test_scheduler_queue_integration.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/scheduling/test_scheduler_recovery_and_failures.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/scheduling/test_scheduler_redis_store.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/scheduling/test_scheduler_worker_lifecycle.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/schemas/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/schemas/test_schema_orm_and_cli.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/schemas/test_schema_routing.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/security/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/security/test_security_audit.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/stress/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/stress/test_context_isolation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/support/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/support/test_redis_config.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/support/test_strings.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/testing/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/testing/test_fixtures.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/testing/test_phase9_testing_remediation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/testing/test_test_client.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/typing/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/typing/test_factory_typing.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/typing/test_orm_typing.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/typing/test_schema_typing.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/validation/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/validation/test_form_request_fail_closed.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/validation/test_form_request_pipeline.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/validation/test_phase6_validation_remediation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/validation/test_rules_hardening.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/validation/test_validation_concurrency.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/validation/test_validator_rules.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/websockets/__init__.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/websockets/test_broadcast.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/websockets/test_handshake.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/websockets/test_lifecycle.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/websockets/test_websocket_concurrency.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/websockets/test_websocket_connection.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/websockets/test_websocket_manager.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/websockets/test_websocket_remediation.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/tests/websockets/test_websocket_routing_and_lifecycle.py +0 -0
- {swiftpy_framework-0.4.0 → swiftpy_framework-0.4.1.post1}/views/mail/template.html +0 -0
|
@@ -84,6 +84,7 @@ jobs:
|
|
|
84
84
|
uv run mypy swiftpy
|
|
85
85
|
uv run mypy .
|
|
86
86
|
uv run mypy --explicit-package-bases .
|
|
87
|
+
uv run mypy --strict tests/typing/
|
|
87
88
|
|
|
88
89
|
- name: Run Pyrefly
|
|
89
90
|
run: |
|
|
@@ -195,11 +196,66 @@ jobs:
|
|
|
195
196
|
out, _ = proc.communicate(timeout=5)
|
|
196
197
|
assert ok, out
|
|
197
198
|
'
|
|
199
|
+
ROOT_DIR="$(pwd)"
|
|
198
200
|
rm -rf /tmp/swiftpy-pyrefly-smoke && mkdir -p /tmp/swiftpy-pyrefly-smoke
|
|
199
201
|
(
|
|
200
202
|
cd /tmp/swiftpy-pyrefly-smoke
|
|
201
203
|
/tmp/swiftpy-wheel-smoke/bin/swiftpy new ci_smoke_api
|
|
202
204
|
cd ci_smoke_api
|
|
203
|
-
|
|
205
|
+
cat <<'EOF' > v041_typing_contract_smoke.py
|
|
206
|
+
from __future__ import annotations
|
|
207
|
+
|
|
208
|
+
from typing import assert_type
|
|
209
|
+
|
|
210
|
+
from swiftpy import Auth, AuthProxy, AuthUser, BaseSchema, FormRequest, Request, UniqueRule, ValidatedData, unique
|
|
211
|
+
from swiftpy.auth import auth
|
|
212
|
+
from swiftpy.auth_manager import Auth as LegacyAuth
|
|
213
|
+
from swiftpy.auth_manager import auth as legacy_auth
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
class DocVersionCreate(BaseSchema):
|
|
217
|
+
version: str
|
|
218
|
+
title: str
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
class DocVersionCreateRequest(FormRequest[DocVersionCreate]):
|
|
222
|
+
pass
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
class DocVersionService:
|
|
226
|
+
async def create_doc_version(self, data: DocVersionCreate) -> DocVersionCreate:
|
|
227
|
+
return data
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
def check_auth_contracts() -> AuthUser:
|
|
231
|
+
_proxy = assert_type(auth(), AuthProxy)
|
|
232
|
+
_user = assert_type(auth().user(), AuthUser)
|
|
233
|
+
_uid = auth().user().id
|
|
234
|
+
_facade_id = Auth.user().id
|
|
235
|
+
_legacy_id = legacy_auth().user().id
|
|
236
|
+
_legacy_facade_id = LegacyAuth.user().id
|
|
237
|
+
_nullable = assert_type(auth().user(nullable=True), AuthUser | None)
|
|
238
|
+
_facade_nullable = assert_type(Auth.user(nullable=True), AuthUser | None)
|
|
239
|
+
_strict = assert_type(auth().user_or_fail(), AuthUser)
|
|
240
|
+
_ = (_proxy, _user, _uid, _facade_id, _legacy_id, _legacy_facade_id, _nullable, _facade_nullable, _strict)
|
|
241
|
+
return auth().user()
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
async def check_validation_contracts(
|
|
245
|
+
request: Request,
|
|
246
|
+
user_id: int,
|
|
247
|
+
form: DocVersionCreateRequest,
|
|
248
|
+
service: DocVersionService,
|
|
249
|
+
) -> ValidatedData:
|
|
250
|
+
_rule = assert_type(unique("users", "email").ignore(user_id), UniqueRule)
|
|
251
|
+
_doc = assert_type(await service.create_doc_version(form.validated()), DocVersionCreate)
|
|
252
|
+
_ = (_rule, _doc)
|
|
253
|
+
return assert_type(
|
|
254
|
+
await request.validate({"email": f"required|email|unique:users,email,{user_id}"}),
|
|
255
|
+
ValidatedData,
|
|
256
|
+
)
|
|
257
|
+
EOF
|
|
258
|
+
uvx pyrefly check --python-interpreter-path /tmp/swiftpy-wheel-smoke/bin/python --error=no-any-return-implicit app/ config/ routes/ database/ prompts/ main.py v041_typing_contract_smoke.py
|
|
259
|
+
PYTHONPATH= "$ROOT_DIR/.venv/bin/mypy" --python-executable /tmp/swiftpy-wheel-smoke/bin/python --strict v041_typing_contract_smoke.py
|
|
204
260
|
)
|
|
205
261
|
rm -rf /tmp/swiftpy-pyrefly-smoke /tmp/swiftpy-wheel-smoke
|
|
@@ -4,6 +4,46 @@ All notable changes to SwiftPY will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.4.1.post1] - 2026-11-28
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- **`FormRequest[BaseSchema]` & `ValidatedData` / `BaseSchema` Interoperability (`swiftpy/validation/form_request.py`, `swiftpy/validation/validator.py`, `swiftpy/http/request.py`, `swiftpy/schemas/base.py`, `swiftpy/core/application.py`, `swiftpy/http/router.py`):**
|
|
11
|
+
- Made `FormRequest[SchemaT_co]` covariant and generic (defaulting unparameterized subclasses to `Any` on PEP 696 checkers so existing controllers passing `form.validated()` into `BaseSchema` services check cleanly, while `class MyRequest(FormRequest[MySchema]):` and inline `form: FormRequest[MySchema]` infer and return concrete `MySchema` both statically and at runtime).
|
|
12
|
+
- Added automatic `FormRequest.__init_subclass__` binding to `cls.schema_model`, HTTP pipeline hydration (`Application._wrap_handler` + `Router._analyze_handler`), `FormRequest.to_schema(MySchema)`, and overloaded `FormRequest.validated(MySchema)` so `FormRequest` rules (e.g. `unique:...`, mass-assignment filtering) flow straight into typed `BaseSchema` coercion and validation.
|
|
13
|
+
- Added `ValidationResult.validated(MySchema)`, `await request.validate(MySchema)`, and `await request.validate(rules, schema_cls=MySchema)`.
|
|
14
|
+
- Added `to_dict()`, `model_dump()`, `fields_set`, `is_set()`, `to_schema()`, and omitted declared-rule-field `None` fallback on `ValidatedData`, plus `__getitem__`, `__contains__`, `get()`, and `validated()` on `BaseSchema` (without claiming `items`/`keys`/`values` attribute names so payload fields remain unobstructed).
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
- **Standalone Imports, Auth Static Cleanup, CI Wheel Smoke Check & Version Bump (`swiftpy/database/orm/model.py`, `swiftpy/database/factories.py`, `swiftpy/auth/auth_manager.py`, `.github/workflows/ci.yml`, `pyproject.toml`, `swiftpy/console/commands/new.py`):**
|
|
18
|
+
- Moved `BaseSchema` runtime imports in `swiftpy/database/orm/model.py` and `swiftpy/database/factories.py` under `TYPE_CHECKING` (`_is_schema_instance` TypeGuard) so importing `swiftpy.schemas` standalone in a fresh interpreter never fails with a circular `ImportError`.
|
|
19
|
+
- Fixed `[implicit-any-empty-container]` on `data: dict[str, Any]` in `swiftpy/auth/auth_manager.py`, `[implicit-any-lambda]` in `tests/console/test_phase9_cli_remediation.py`, and fixed `.github/workflows/ci.yml` wheel-smoke `mypy` execution to pass `--python-executable /tmp/swiftpy-wheel-smoke/bin/python` instead of triggering PyPI resolution via `uv run`.
|
|
20
|
+
- Bumped `swiftpy-framework` package version and `swiftpy new` dependency floor to `0.4.1.post1`.
|
|
21
|
+
|
|
22
|
+
## [0.4.1] - 2026-11-28
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
- **Inline Request Validation & Route Parameter Helpers (`swiftpy/http/request.py`, `swiftpy/core/application.py`, `swiftpy/validation/form_request.py`):**
|
|
26
|
+
- Added `await request.validate(schema, messages=None, *, registry=None, stop_on_first_error=False) -> ValidatedData` on `Request`, automatically validating request payloads, raising `ValidationException` (HTTP 422) on failure, and returning `ValidatedData` (supporting both dict and attribute access).
|
|
27
|
+
- Populated `request.path_params` during HTTP and WebSocket dispatch in `Application` and added `request.route(param=None, default=None)` and `FormRequest.route(param=None, default=None)` so controllers and dynamic `FormRequest.rules()` methods can read route parameters cleanly (`"validate"`, `"route"`, and `"path_params"` added to `Request._RESERVED_INPUT_ATTRS`).
|
|
28
|
+
- **Unique Validation Enhancements (`swiftpy/validation/rules/unique.py`, `swiftpy/validation/rules/registry.py`):**
|
|
29
|
+
- Added fluent `UniqueRule.ignore(ignore_id, id_column=None)` and support for `Model`, `AuthUser`, and `CurrentUser` instances passed as `ignore_id` (automatically inferring `__primary_key__` and primary key value), while explicitly rejecting boolean `ignore_id` values (`TypeError`).
|
|
30
|
+
- Normalized `"NULL"`, `"null"`, `"None"`, and empty `""` `ignore_id` tokens in `_parse_unique` without shifting `id_column` positionally (e.g. `unique:users,email,NULL,user_id`), and rejected empty 4th `id_column` tokens (`unique:users,email,1,`) or extra trailing positional tokens (`unique:users,email,1,id,extra`) with `ConfigurationError`.
|
|
31
|
+
- Optimized `UniqueRule._fetchval_unique` to execute a single query on the common integer-PK update path (`f"unique:users,email,{id}"`) by binding canonical integer strings as `int` first and falling back to `str`/`int` coercion on `(asyncpg.DataError, TypeError)`.
|
|
32
|
+
- **Strict Default `auth().user()` / `Auth.user()` & Explicit `user_or_fail()` (`swiftpy/auth/auth_manager.py`):**
|
|
33
|
+
- Enforced strict runtime behavior matching `@overload` static types on `AuthProxy.user()` and `Auth.user()`: default `auth().user()` and `Auth.user()` (`nullable: Literal[False] = False -> AuthUser`) raise `AuthenticationError("Unauthenticated.")` when unauthenticated or when the active guard mismatches the requested guard, while `nullable=True` (`-> AuthUser | None`) returns `None`.
|
|
34
|
+
- Added `auth().user_or_fail() -> AuthUser` and `Auth.user_or_fail() -> AuthUser` for explicit fail-closed access.
|
|
35
|
+
- Hardened `AuthUser.id` custom `__primary_key__` fallback, `AuthProxy._resolve_user` rejection of empty or all-sensitive dicts, model-aware string PK preservation in `_build_auth_user_from_dict` (`_expects_int_pk`), `is_sensitive_key(...)` stripping across dict/model hydration, and `_is_logged_out()` enforcement in `_adopt_request_state_user()`, `current_user_model()`, `current_user()`, and `AuthProxy._resolve_user()`.
|
|
36
|
+
|
|
37
|
+
### Fixed
|
|
38
|
+
- **Static Typing (`Pyrefly[missing-attribute]` / `mypy --strict`) & CI Typing Gates (`swiftpy/auth/auth_manager.py`, `swiftpy/http/request.py`, `swiftpy/validation/validator.py`, `swiftpy/__init__.py`, `.github/workflows/ci.yml`):**
|
|
39
|
+
- Eliminated `Object of class NoneType has no attribute id` errors on `auth().user().id`, `Auth.user().id`, and legacy facade calls with aligned `@overload` contracts and runtime enforcement, backed by dedicated `tests/typing/test_auth_typing.py` and `tests/typing/test_validation_typing.py` CI checks in both `mypy --strict` and `pyrefly check` (including installed-wheel typing smoke checks).
|
|
40
|
+
- Widened `Request.validate`, `validate()`, and `Validator.__init__` annotations to accept `Mapping[str, Any]` schemas and `Mapping[str, str] | None` custom error message mappings.
|
|
41
|
+
- Updated `swiftpy/__init__.py` `TYPE_CHECKING`, `_EXPORT_MAP`, and `__all__` entries for `AuthProxy`, `AuthUser`, `AuthenticationError`, `current_user_model`, and `set_user_model`.
|
|
42
|
+
- Broke the `swiftpy.http.request` <-> `swiftpy.validation` / `swiftpy.schemas.base` circular import chain cleanly at top-of-file imports (`_is_swiftpy_request` TypeGuard marker).
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
- Bumped `swiftpy-framework` package version (`pyproject.toml`), `swiftpy new` dependency floor (`swiftpy/console/commands/new.py`), `tests/console/test_phase9_cli_remediation.py`, [Installation & Quick Start](documentations/2026-11-14-installation-quick-start.md), [Validation & Form Requests](documentations/2026-11-15-validation-and-form-requests.md), [Authentication & Security](documentations/2026-11-15-authentication-and-security.md), and [README.md](README.md) to `0.4.1`.
|
|
46
|
+
|
|
7
47
|
## [0.4.0] - 2026-11-27
|
|
8
48
|
|
|
9
49
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: swiftpy-framework
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.1.post1
|
|
4
4
|
Summary: SwiftPY is a new generation async-first Python framework purpose built for the modern API and AI economy.
|
|
5
5
|
Project-URL: Homepage, https://github.com/obrainwave/swiftpy
|
|
6
6
|
Project-URL: Repository, https://github.com/obrainwave/swiftpy
|
|
@@ -99,6 +99,8 @@ All core architectural, storage, AI, and security hardening phases have been com
|
|
|
99
99
|
| **Release v0.3.8: Zero-Boilerplate ORM & Relationship Static Typing** | Source-level `Relation[T]` / `RelationshipQueryBuilder[T]` / `SingleRelationshipQueryBuilder[T]` type propagation (`await v.relation` & full query chains), zero-ceremony `model = YourModel` repositories, covariant `Mapping` / non-string `Sequence` & `ModelQueryBuilder` subqueries, and `BaseSchema` parity on `ModelQueryBuilder.update`, `first_or_create`, `update_or_create`, and relationship `.create()`/`.update()` | ✅ Completed |
|
|
100
100
|
| **Release v0.3.9: Pyrefly/Mypy Scaffolding Hardening & `ClassVar`-Free Model Guidance** | Removed global `ignore_missing_imports = true` from `swiftpy new` `[tool.mypy]` (replaced with scoped `[[tool.mypy.overrides]]` so Pyrefly surfaces `[missing-import]` instead of silent `Model: Unknown` / `[no-any-return-implicit]`), expanded `RUF012` per-file ignores across `app/models/`, `app/**/models/`, and `tests/`, added `typing.assert_type` + `py.typed` wheel-packaging regression tests, and documented host IDE setup & `ClassVar`-free model metadata | ✅ Completed |
|
|
101
101
|
| **Release v0.4.0: Migration Alteration/Introspection Helpers & Model Factories** | `Schema.has_columns()`, `Schema.has_index()`, `Blueprint.binary()` (`BYTEA`), `Blueprint.drop_column()` sequence support, declarative `ColumnDefinition.change()` + `.using(expr)` PostgreSQL `ALTER COLUMN` compiler, typed `Factory[T]` / `FactoryBatch[T]` / `Fake` / `Sequence` & `Model.factory()` with `.state()`, `.sequence()`, `.has()` / `.has_<rel>()`, `.has_attached()`, `.for_()`, plus `swiftpy make:factory` & `make:model -f` | ✅ Completed |
|
|
102
|
+
| **Release v0.4.1: Inline `request.validate()`, Unique Update Ergonomics & Strict `AuthUser` Contract** | Added `await request.validate(...)` and `request.route()` / `FormRequest.route()` for `f"required\|email\|unique:users,email,{id}"` flows, hardened `UniqueRule` (`NULL`/`None` tokens, `Model`/`AuthUser` `.ignore()`, bidirectional int/str PK coercion), enforced strict `auth().user()` / `Auth.user()` (`-> AuthUser`, raising `AuthenticationError` unless `nullable=True` is passed, plus `user_or_fail()`) eliminating `Pyrefly[missing-attribute]`, fixed top-level `swiftpy` `AuthUser`/`AuthProxy` exports, and enforced Pyrefly + `mypy --strict` CI typing gates | ✅ Completed |
|
|
103
|
+
| **Release v0.4.1.post1: `FormRequest[BaseSchema]` & `ValidatedData` Agreement Patch** | Made `FormRequest[Schema]` generic with typed runtime `BaseSchema` hydration in HTTP dispatch and `.validated()` / `.to_schema()`, added `schema_cls` / `type[BaseSchema]` overloads on `request.validate()` and `ValidationResult.validated()`, added `to_dict()` / `model_dump()` / `fields_set` / `is_set()` / `to_schema()` on `ValidatedData`, added subscript/``.get()``/`in`/`.validated()` parity on `BaseSchema`, resolved standalone `swiftpy.schemas` circular imports, and fixed `.github/workflows/ci.yml` wheel smoke mypy resolution | ✅ Completed |
|
|
102
104
|
|
|
103
105
|
*See [`documentations/2026-11-14-installation-quick-start.md`](./documentations/2026-11-14-installation-quick-start.md), [`documentations/2026-11-21-application-architecture-and-project-structure.md`](./documentations/2026-11-21-application-architecture-and-project-structure.md), and [`documentations/2026-11-22-task-scheduling.md`](./documentations/2026-11-22-task-scheduling.md) for the complete documentation series and [`CHANGELOG.md`](./CHANGELOG.md) for release notes.*
|
|
104
106
|
|
|
@@ -69,6 +69,8 @@ All core architectural, storage, AI, and security hardening phases have been com
|
|
|
69
69
|
| **Release v0.3.8: Zero-Boilerplate ORM & Relationship Static Typing** | Source-level `Relation[T]` / `RelationshipQueryBuilder[T]` / `SingleRelationshipQueryBuilder[T]` type propagation (`await v.relation` & full query chains), zero-ceremony `model = YourModel` repositories, covariant `Mapping` / non-string `Sequence` & `ModelQueryBuilder` subqueries, and `BaseSchema` parity on `ModelQueryBuilder.update`, `first_or_create`, `update_or_create`, and relationship `.create()`/`.update()` | ✅ Completed |
|
|
70
70
|
| **Release v0.3.9: Pyrefly/Mypy Scaffolding Hardening & `ClassVar`-Free Model Guidance** | Removed global `ignore_missing_imports = true` from `swiftpy new` `[tool.mypy]` (replaced with scoped `[[tool.mypy.overrides]]` so Pyrefly surfaces `[missing-import]` instead of silent `Model: Unknown` / `[no-any-return-implicit]`), expanded `RUF012` per-file ignores across `app/models/`, `app/**/models/`, and `tests/`, added `typing.assert_type` + `py.typed` wheel-packaging regression tests, and documented host IDE setup & `ClassVar`-free model metadata | ✅ Completed |
|
|
71
71
|
| **Release v0.4.0: Migration Alteration/Introspection Helpers & Model Factories** | `Schema.has_columns()`, `Schema.has_index()`, `Blueprint.binary()` (`BYTEA`), `Blueprint.drop_column()` sequence support, declarative `ColumnDefinition.change()` + `.using(expr)` PostgreSQL `ALTER COLUMN` compiler, typed `Factory[T]` / `FactoryBatch[T]` / `Fake` / `Sequence` & `Model.factory()` with `.state()`, `.sequence()`, `.has()` / `.has_<rel>()`, `.has_attached()`, `.for_()`, plus `swiftpy make:factory` & `make:model -f` | ✅ Completed |
|
|
72
|
+
| **Release v0.4.1: Inline `request.validate()`, Unique Update Ergonomics & Strict `AuthUser` Contract** | Added `await request.validate(...)` and `request.route()` / `FormRequest.route()` for `f"required\|email\|unique:users,email,{id}"` flows, hardened `UniqueRule` (`NULL`/`None` tokens, `Model`/`AuthUser` `.ignore()`, bidirectional int/str PK coercion), enforced strict `auth().user()` / `Auth.user()` (`-> AuthUser`, raising `AuthenticationError` unless `nullable=True` is passed, plus `user_or_fail()`) eliminating `Pyrefly[missing-attribute]`, fixed top-level `swiftpy` `AuthUser`/`AuthProxy` exports, and enforced Pyrefly + `mypy --strict` CI typing gates | ✅ Completed |
|
|
73
|
+
| **Release v0.4.1.post1: `FormRequest[BaseSchema]` & `ValidatedData` Agreement Patch** | Made `FormRequest[Schema]` generic with typed runtime `BaseSchema` hydration in HTTP dispatch and `.validated()` / `.to_schema()`, added `schema_cls` / `type[BaseSchema]` overloads on `request.validate()` and `ValidationResult.validated()`, added `to_dict()` / `model_dump()` / `fields_set` / `is_set()` / `to_schema()` on `ValidatedData`, added subscript/``.get()``/`in`/`.validated()` parity on `BaseSchema`, resolved standalone `swiftpy.schemas` circular imports, and fixed `.github/workflows/ci.yml` wheel smoke mypy resolution | ✅ Completed |
|
|
72
74
|
|
|
73
75
|
*See [`documentations/2026-11-14-installation-quick-start.md`](./documentations/2026-11-14-installation-quick-start.md), [`documentations/2026-11-21-application-architecture-and-project-structure.md`](./documentations/2026-11-21-application-architecture-and-project-structure.md), and [`documentations/2026-11-22-task-scheduling.md`](./documentations/2026-11-22-task-scheduling.md) for the complete documentation series and [`CHANGELOG.md`](./CHANGELOG.md) for release notes.*
|
|
74
76
|
|
|
@@ -170,7 +170,7 @@ my_api/
|
|
|
170
170
|
├── docker-compose.yml # name: my_api; app, postgres (pgvector:pg16), & redis services
|
|
171
171
|
├── Dockerfile
|
|
172
172
|
├── main.py # Entrypoint: GET /, /api router, register_exception_handlers(app)
|
|
173
|
-
└── pyproject.toml # Configured with swiftpy-framework>=0.4.
|
|
173
|
+
└── pyproject.toml # Configured with swiftpy-framework>=0.4.1.post1, setuptools, & mypy strict settings
|
|
174
174
|
```
|
|
175
175
|
|
|
176
176
|
What `swiftpy new my_api` configures automatically:
|
|
@@ -327,7 +327,7 @@ The scaffolded `Dockerfile` reads `[project].dependencies` from your project's `
|
|
|
327
327
|
name = "my_api"
|
|
328
328
|
version = "0.1.0"
|
|
329
329
|
dependencies = [
|
|
330
|
-
"swiftpy-framework>=0.4.
|
|
330
|
+
"swiftpy-framework>=0.4.1.post1",
|
|
331
331
|
# ...
|
|
332
332
|
]
|
|
333
333
|
```
|
|
@@ -347,7 +347,7 @@ The scaffolded `Dockerfile` reads `[project].dependencies` from your project's `
|
|
|
347
347
|
```
|
|
348
348
|
|
|
349
349
|
- The target version of `swiftpy-framework` must already be published on PyPI before running `docker compose build`. To test an unreleased local framework build in Docker, build a wheel (`uv build --wheel`), copy the `.whl` into your project's build context, and `pip install` that wheel in `Dockerfile`.
|
|
350
|
-
- **Keep your host IDE in sync:** Also run `python -m pip install -U "swiftpy-framework>=0.4.
|
|
350
|
+
- **Keep your host IDE in sync:** Also run `python -m pip install -U "swiftpy-framework>=0.4.1.post1"` on your host machine so your IDE and Pyrefly pick up any new APIs or type annotations from the upgraded release.
|
|
351
351
|
|
|
352
352
|
### Local Virtual Environment Projects (Option B / Minimal App)
|
|
353
353
|
|
|
@@ -358,7 +358,7 @@ If running without Docker, upgrade inside your activated `.venv`:
|
|
|
358
358
|
uv sync --upgrade-package swiftpy-framework
|
|
359
359
|
|
|
360
360
|
# Or with pip
|
|
361
|
-
python -m pip install --upgrade "swiftpy-framework>=0.4.
|
|
361
|
+
python -m pip install --upgrade "swiftpy-framework>=0.4.1.post1"
|
|
362
362
|
swiftpy --version
|
|
363
363
|
```
|
|
364
364
|
|
|
@@ -313,7 +313,7 @@ async def login(payload: LoginRequest, jwt: JWTIssuer, current: CurrentUser) ->
|
|
|
313
313
|
|
|
314
314
|
**Routes without `JWTGuard`.** By default only guards authenticate. Set `AUTH_PASSIVE_RESOLUTION=true` (`auth.passive_resolution`, default guard `jwt`) to let routes without a guard resolve a valid `Authorization: Bearer <access_token>` into `CurrentUser` / `auth()`. Invalid, expired or revoked tokens are ignored and the request stays a guest; use `JWTGuard` when you need a `401`.
|
|
315
315
|
|
|
316
|
-
> `CurrentUser.id` returns the raw token `sub` (a string) when no model is bound, while `auth().id()` coerces it to the User model's primary key type. Compare with `str(...)` or use `auth().id()` consistently.
|
|
316
|
+
> `CurrentUser.id` returns the raw token `sub` (a string) when no model is bound, while `auth().id()` coerces it to the User model's primary key type. Compare with `str(...)` or use `auth().id()` consistently. `auth().user()` and `Auth.user()` return `AuthUser` strictly and raise `AuthenticationError` (`HTTP 401`) if unauthenticated (or if the active guard does not match), matching their static `AuthUser` return type in Pyrefly and `mypy --strict` so expressions like `auth().user().id` or `Auth.user().email` work directly without `NoneType` errors; pass `nullable=True` (`auth().user(nullable=True) -> AuthUser | None`) on unauthenticated/optional routes where `None` is expected, or call `auth().user_or_fail()` / `Auth.user_or_fail()` for explicit strict intent.
|
|
317
317
|
|
|
318
318
|
For token refresh endpoints, inject `jwt: JWTIssuer` **or** invoke `await JWTIssuer.refresh_token_pair(...)` directly on `JWTIssuer` (both forms automatically resolve the active application's configuration and `TokenBlacklist`). Rather than calling `issue_token_pair()` manually, `refresh_token_pair()` verifies the incoming token with `expected_type="refresh"`, checks `TokenBlacklist`, revokes the previous refresh token's `jti` automatically (`rotate=True` by default) so reused refresh tokens fail with `TokenRevokedError` (`401`), and issues a fresh access/refresh pair:
|
|
319
319
|
|
|
@@ -166,9 +166,31 @@ If a client submits extra unvalidated keys such as `{"name": "Jane", "is_admin":
|
|
|
166
166
|
|
|
167
167
|
---
|
|
168
168
|
|
|
169
|
-
##
|
|
169
|
+
## Inline Validation with `await request.validate()` & Standalone `validate()`
|
|
170
170
|
|
|
171
|
-
|
|
171
|
+
For inline controller and route validation, call `await request.validate(schema, messages=None, *, stop_on_first_error=False)`. It validates query, JSON, or form input automatically, raises `ValidationException` (`HTTP 422`) on failure, and returns `ValidatedData` (supporting both dict indexing and dot access):
|
|
172
|
+
|
|
173
|
+
```python
|
|
174
|
+
from __future__ import annotations
|
|
175
|
+
|
|
176
|
+
from swiftpy.http.request import Request
|
|
177
|
+
from swiftpy.http.response import Response, json_response
|
|
178
|
+
from swiftpy.http.router import Router
|
|
179
|
+
|
|
180
|
+
router = Router()
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
@router.put("/users/{id}")
|
|
184
|
+
async def update_user(request: Request, id: int) -> Response:
|
|
185
|
+
validated = await request.validate({
|
|
186
|
+
"email": f"required|email|unique:users,email,{id}",
|
|
187
|
+
})
|
|
188
|
+
return json_response({"id": id, "email": validated.email})
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
You can also read matched route path parameters via `request.route("id")` (or `self.route("id")` inside a dynamic `FormRequest.rules()` method).
|
|
192
|
+
|
|
193
|
+
Or use `await validate(data_or_request, schema, ...)` (`Validator(data, schema, ...).validate()`) when you want a `ValidationResult` instead of raising immediately in services, WebSocket handlers, or background jobs:
|
|
172
194
|
|
|
173
195
|
```python
|
|
174
196
|
from __future__ import annotations
|
|
@@ -348,20 +370,22 @@ def build_update_user_rules(user_id: int) -> dict[str, Any]:
|
|
|
348
370
|
}
|
|
349
371
|
```
|
|
350
372
|
|
|
351
|
-
### Rule Arguments in String Syntax
|
|
373
|
+
### Rule Arguments in String Syntax & Fluent `.ignore()`
|
|
352
374
|
|
|
353
375
|
- **`exists:<table>,<column>`**: Passes if at least one matching row exists.
|
|
354
376
|
- **`unique:<table>,<column>[,<ignore_id>][,<id_column>][,ci]`**: Passes if no matching row exists:
|
|
355
377
|
- `unique:users,email` — exact match against `users.email`.
|
|
356
|
-
- `unique:users,email,
|
|
357
|
-
- `unique:users,email,42,user_uuid` —
|
|
378
|
+
- `f"unique:users,email,{id}"` — ignore the row where `id = id` (stringified integer, UUID, or string primary keys are coerced cleanly; `"NULL"`, `"None"`, or empty strings keep `ignore_id=None` without shifting `id_column`).
|
|
379
|
+
- `unique:users,email,42,user_uuid` or `unique:users,email,NULL,user_uuid` — use custom ID column `user_uuid`.
|
|
358
380
|
- `unique:users,email,ci` or `unique:users,email,42,ci` — case-insensitive match via `LOWER("email") = LOWER($1)`.
|
|
381
|
+
- `unique("users", "email").ignore(user_or_id, id_column=...)` — fluent helper also accepting a `Model` (auto-inferring `__primary_key__`) or `AuthUser` / `CurrentUser` instance.
|
|
359
382
|
|
|
360
383
|
### Connection Resolution, Transactions & Safety
|
|
361
384
|
|
|
362
385
|
- **Connection pool resolution:** Both `UniqueRule` and `ExistsRule` resolve `DatabasePool` automatically from the application `Container` (or accept an explicit `pool=` argument).
|
|
363
386
|
- **Transaction & SAVEPOINT safety:** When executed inside `async with db.transaction():`, both rules reuse the active transaction connection (seeing uncommitted writes in the same transaction) and wrap each check in a sub-transaction (`SAVEPOINT`) so a database type mismatch (such as passing `"abc"` for an integer column) returns a clean `422` validation failure without poisoning the outer transaction.
|
|
364
387
|
- **SQL injection defense:** Table and column identifiers are checked by `validate_identifier()` at rule construction time, rejecting unsafe identifiers upfront with `ValueError`, and field values are always bound as `$1` / `$2` parameters.
|
|
388
|
+
- **Database `UNIQUE` constraints remain mandatory under concurrency:** Application-level `unique` checks query PostgreSQL before inserting or updating, so two concurrent requests can still pass pre-write validation before either commits. Always declare a real database `UNIQUE` constraint (such as `table.string("email").unique()` in migrations) as your final integrity guarantee.
|
|
365
389
|
- **Empty values:** When a value is `None` or `""`, `ExistsRule` and `UniqueRule` return `True` — always pair them with `required` when the field cannot be omitted or blank.
|
|
366
390
|
|
|
367
391
|
---
|
|
@@ -570,17 +594,53 @@ def register_validation_renderer(app: Application) -> None:
|
|
|
570
594
|
|
|
571
595
|
---
|
|
572
596
|
|
|
573
|
-
## Choosing Between `BaseSchema` / `Schema` and `FormRequest`
|
|
597
|
+
## Choosing Between & Combining `BaseSchema` / `Schema` and `FormRequest`
|
|
598
|
+
|
|
599
|
+
Both systems return HTTP `422` (`ValidationException`) automatically when annotated on route or controller handlers—and you can combine them cleanly so `FormRequest.validated()` returns a typed `BaseSchema` instance.
|
|
600
|
+
|
|
601
|
+
### Option 1: Parameterize `FormRequest[MySchema]` (Recommended When Combining DB Rules + Schema DTOs)
|
|
602
|
+
|
|
603
|
+
When a controller uses database validation rules (`unique:...`, `exists:...`) alongside a typed service DTO (`BaseSchema`), parameterize `FormRequest[MySchema]`:
|
|
604
|
+
|
|
605
|
+
```python
|
|
606
|
+
from __future__ import annotations
|
|
607
|
+
|
|
608
|
+
from typing import Any
|
|
609
|
+
|
|
610
|
+
from swiftpy.schemas import BaseSchema, Field
|
|
611
|
+
from swiftpy.validation import FormRequest
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
class DocVersionCreate(BaseSchema):
|
|
615
|
+
version: str = Field(..., strip_whitespace=True, min_length=1)
|
|
616
|
+
title: str
|
|
617
|
+
notes: str | None = None
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
class DocVersionCreateRequest(FormRequest[DocVersionCreate]):
|
|
621
|
+
def rules(self) -> dict[str, Any]:
|
|
622
|
+
return {
|
|
623
|
+
"version": "required|str|unique:doc_versions,version",
|
|
624
|
+
"title": "required|str",
|
|
625
|
+
"notes": "nullable|str",
|
|
626
|
+
}
|
|
627
|
+
```
|
|
574
628
|
|
|
575
|
-
|
|
629
|
+
- **Static typing (`Pyrefly` / `mypy --strict`):** `request.validated()` infers `DocVersionCreate`, matching `DocVersionService.create_doc_version(self, data: DocVersionCreate)` directly.
|
|
630
|
+
- **Runtime pipeline:** SwiftPY validates `rules()` first (preserving `FormRequest` mass-assignment filtering), then validates and coerces the cleaned payload into `DocVersionCreate` before entering your handler (`422` if either step fails).
|
|
631
|
+
- **Explicit conversion helpers:** For unparameterized `FormRequest` subclasses, `ValidatedData`, `ValidationResult`, or `await request.validate(...)`:
|
|
632
|
+
- `request.validated(DocVersionCreate)` / `request.to_schema(DocVersionCreate)`
|
|
633
|
+
- `await request.validate(DocVersionCreate)` or `await request.validate(rules, schema_cls=DocVersionCreate)`
|
|
634
|
+
- `(await validate(request, rules)).raise_if_failed().validated(DocVersionCreate)`
|
|
635
|
+
- `validated_data.to_schema(DocVersionCreate)` (`ValidatedData` also implements `.to_dict()`, `.model_dump()`, `.fields_set`, and `.is_set()` for runtime parity)
|
|
576
636
|
|
|
577
637
|
| Need | Use `BaseSchema` / `Schema` (`swiftpy.schemas`) | Use `FormRequest` (`swiftpy.validation`) |
|
|
578
638
|
|---|---|---|
|
|
579
|
-
| **Static typing in Pyrefly / Mypy** | Full typed attribute access (`payload.movement_date`, `payload.good_eggs`) |
|
|
639
|
+
| **Static typing in Pyrefly / Mypy** | Full typed attribute access (`payload.movement_date`, `payload.good_eggs`) | Typed `MySchema` via `FormRequest[MySchema]`, or `ValidatedData` mapping/dot access |
|
|
580
640
|
| **Schema definition style** | Type annotations + `Field(..., gt=0, max_length=100)` + `@field_validator` / `@model_validator` | String or rule-object DSL (`"required|email|unique:users,email"`) |
|
|
581
|
-
| **Database checks (`unique` / `exists`)** |
|
|
582
|
-
| **Service & ORM DTO reuse** | Pass directly to services/repositories and `Model.create(payload)` / `model.update(payload)` |
|
|
583
|
-
| **Nested & union schemas** | Native nested `BaseSchema`, `list[ItemSchema]`, `UUID`, `Decimal`, `date`, `Enum`, `Literal` | Wildcard keys (`"items.*.sku"`) |
|
|
641
|
+
| **Database checks (`unique` / `exists`)** | Combine with `FormRequest[MySchema]` or `await request.validate(..., schema_cls=MySchema)` | Built-in async `"unique:table,col"` and `"exists:table,col"` rules |
|
|
642
|
+
| **Service & ORM DTO reuse** | Pass directly to services/repositories and `Model.create(payload)` / `model.update(payload)` | Return `MySchema` directly from `form.validated()` when parameterized as `FormRequest[MySchema]` |
|
|
643
|
+
| **Nested & union schemas** | Native nested `BaseSchema`, `list[ItemSchema]`, `UUID`, `Decimal`, `date`, `Enum`, `Literal` | Wildcard keys (`"items.*.sku"`) or `FormRequest[MySchema]` |
|
|
584
644
|
|
|
585
645
|
See [Application Schemas (`app/schemas`)](2026-11-19-application-schemas.md) for the complete `BaseSchema` / `Schema` guide.
|
|
586
646
|
|
|
@@ -228,7 +228,8 @@ class EggLedgerRepository:
|
|
|
228
228
|
### Key ORM & Serialization Helpers
|
|
229
229
|
|
|
230
230
|
- **`Schema.from_model(model)`:** Hydrates a response schema from an ORM `Model` instance, dict, or plain object (respecting loaded relations without triggering lazy loads on unloaded relationships).
|
|
231
|
-
- **`
|
|
231
|
+
- **`FormRequest[YourSchema]` & `request.validate(YourSchema)`:** Parameterize `class CreateItemRequest(FormRequest[YourSchema]):` (or pass `schema_cls=YourSchema` to `request.validate(rules, schema_cls=YourSchema)`, or call `request.validated(YourSchema)` / `request.to_schema(YourSchema)`) when combining `FormRequest` database rules (`unique:...`, `exists:...`) with typed `BaseSchema` service DTOs.
|
|
232
|
+
- **`payload.to_dict(exclude_none=False, exclude_unset=False, by_alias=False)`:** Recursively converts schemas into dictionaries (also supports `payload["field"]`, `payload.get("field")`, `"field" in payload`, and `payload.validated()` for `ValidatedData` interoperability).
|
|
232
233
|
- **`payload.is_set("field_name")` / `payload.fields_set`:** Inspects which fields were explicitly provided in the input payload (versus defaulted).
|
|
233
234
|
- **`await Model.create(payload, ...)` / `await Model.force_create(payload, ...)` / `await parent.children.create(payload, ...)`:** Extracts `payload.to_dict()` and merges any extra keyword overrides while enforcing `__fillable__` / `__guarded__` on `create()`.
|
|
234
235
|
- **`await model.update(payload)` / `await model.force_update(payload)` / `await Model.where(...).update(payload)` / `await parent.children.update(payload)`:** Extracts `payload.to_dict(exclude_unset=True)` so partial `PATCH` schemas never overwrite omitted columns with defaults (post-validation field assignments also update `fields_set`).
|
|
@@ -10,7 +10,7 @@ dev = [
|
|
|
10
10
|
|
|
11
11
|
[project]
|
|
12
12
|
name = "swiftpy-framework"
|
|
13
|
-
version = "0.4.
|
|
13
|
+
version = "0.4.1.post1"
|
|
14
14
|
description = "SwiftPY is a new generation async-first Python framework purpose built for the modern API and AI economy."
|
|
15
15
|
requires-python = ">=3.12"
|
|
16
16
|
dependencies = [
|
|
@@ -20,7 +20,10 @@ if TYPE_CHECKING:
|
|
|
20
20
|
from swiftpy.auth import (
|
|
21
21
|
ApiKeyGuard,
|
|
22
22
|
Auth,
|
|
23
|
+
AuthenticationError,
|
|
23
24
|
AuthManager,
|
|
25
|
+
AuthProxy,
|
|
26
|
+
AuthUser,
|
|
24
27
|
Callback,
|
|
25
28
|
CurrentUser,
|
|
26
29
|
JWTGuard,
|
|
@@ -28,9 +31,11 @@ if TYPE_CHECKING:
|
|
|
28
31
|
LoginThrottle,
|
|
29
32
|
TokenBlacklist,
|
|
30
33
|
current_user,
|
|
34
|
+
current_user_model,
|
|
31
35
|
hash_api_key,
|
|
32
36
|
require_api_key,
|
|
33
37
|
require_jwt,
|
|
38
|
+
set_user_model,
|
|
34
39
|
verify_api_key_hash,
|
|
35
40
|
)
|
|
36
41
|
from swiftpy.cache import (
|
|
@@ -243,7 +248,9 @@ _EXPORT_MAP: dict[str, tuple[str, str]] = {
|
|
|
243
248
|
'Attachment': ('swiftpy.mail', 'Attachment'),
|
|
244
249
|
'Auth': ('swiftpy.auth', 'Auth'),
|
|
245
250
|
'AuthManager': ('swiftpy.auth', 'AuthManager'),
|
|
246
|
-
'
|
|
251
|
+
'AuthProxy': ('swiftpy.auth', 'AuthProxy'),
|
|
252
|
+
'AuthUser': ('swiftpy.auth', 'AuthUser'),
|
|
253
|
+
'AuthenticationError': ('swiftpy.auth', 'AuthenticationError'),
|
|
247
254
|
'BadRequestError': ('swiftpy.core.exceptions', 'BadRequestError'),
|
|
248
255
|
'BaseAgent': ('swiftpy.ai.agents', 'BaseAgent'),
|
|
249
256
|
'BaseSchema': ('swiftpy.schemas', 'BaseSchema'),
|
|
@@ -481,7 +488,9 @@ __all__ = [
|
|
|
481
488
|
'Attachment',
|
|
482
489
|
'Auth',
|
|
483
490
|
'AuthManager',
|
|
491
|
+
'AuthProxy',
|
|
484
492
|
'AuthUser',
|
|
493
|
+
'AuthenticationError',
|
|
485
494
|
'BadRequestError',
|
|
486
495
|
'BaseAgent',
|
|
487
496
|
'BaseSchema',
|