swiftpy-framework 0.3.8__tar.gz → 0.3.9__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.3.8 → swiftpy_framework-0.3.9}/.github/workflows/ci.yml +14 -1
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/CHANGELOG.md +17 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/PKG-INFO +2 -1
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/README.md +1 -0
- swiftpy_framework-0.3.9/app/models/profile.py +20 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/models/user.py +3 -1
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/repositories/user_repository.py +8 -2
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/config/http.py +2 -1
- swiftpy_framework-0.3.9/database/migrations/2026_11_26_180006_create_profiles_table.py +17 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-14-installation-quick-start.md +7 -4
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-15-orm-models-and-relationships.md +10 -1
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-19-cli-and-testing.md +27 -3
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/pyproject.toml +3 -1
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/commands/new.py +12 -3
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/console/test_new_command.py +4 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/console/test_phase9_cli_remediation.py +1 -1
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/orm/test_defaults_dirty.py +1 -1
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/orm/test_relationships_hardening.py +2 -2
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/schemas/test_schemas.py +1 -1
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/typing/test_orm_typing.py +128 -42
- swiftpy_framework-0.3.9/tests/validation/__init__.py +0 -0
- swiftpy_framework-0.3.9/tests/websockets/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/uv.lock +1 -1
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/.dockerignore +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/.env.example +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/.github/workflows/publish.yml +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/.gitignore +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/CONTRIBUTING.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/Dockerfile +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/LICENSE +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/ai/agents/assistant_agent.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/ai/observers/.gitkeep +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/ai/pipelines/.gitkeep +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/ai/providers/.gitkeep +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/ai/tools/system_status_tool.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/ai/vectorstores/.gitkeep +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/events/user_registered.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/http/controllers/user_controller.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/http/handler/exceptions.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/http/middleware/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/http/middleware/admin_middleware.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/http/middleware/auth_middleware.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/http/middleware/test_middleware.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/http/requests/create_user_request.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/http/resources/user_resource.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/jobs/send_notification_job.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/listeners/send_welcome_notification.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/mail/welcome_email.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/providers/app_service_provider.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/providers/auth_service_provider.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/providers/cache_service_provider.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/providers/database_service_provider.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/providers/event_service_provider.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/providers/filesystem_service_provider.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/providers/mail_service_provider.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/providers/queue_service_provider.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/schemas/user_schema.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/app/services/user_service.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/bootstrap/cache/.gitkeep +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/config/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/config/ai.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/config/app.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/config/auth.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/config/cache.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/config/cors.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/config/database.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/config/events.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/config/filesystems.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/config/logging.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/config/mail.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/config/queue.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/config/schedule.py +0 -0
- {swiftpy_framework-0.3.8/swiftpy/console → swiftpy_framework-0.3.9/database}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/database/migrations/2026_01_01_000000_create_users_table.py +0 -0
- {swiftpy_framework-0.3.8/swiftpy/console/commands → swiftpy_framework-0.3.9/database/migrations}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/database/seeders/database_seeder.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/docker-compose.yml +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-15-ai-subsystem.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-15-authentication-and-security.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-15-cache-events-and-queues.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-15-core-application-di-and-config.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-15-database-query-builder-and-migrations.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-15-filesystem-storage-and-mail.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-15-http-routing-middleware-and-exceptions.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-15-validation-and-form-requests.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-15-websockets-and-admin.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-19-application-schemas.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-19-database-schema-and-blueprint.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-20-error-handling.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-20-logging.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-20-request-and-responses.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-21-application-architecture-and-project-structure.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-21-cors.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-22-task-scheduling.md +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/main.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/prompts/classify.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/prompts/summarise.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/red-black.png +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/routes/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/routes/api.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/.gitignore +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/_deterministic.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/_fake.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/agents/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/agents/base_agent.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/agents/memory.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/client.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/conversation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/embeddings.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/exceptions.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/history_strategies.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/middleware.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/observability/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/observability/drivers.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/observability/observer.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/pool.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/pricing.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/prompts/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/prompts/loader.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/providers/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/providers/anthropic_provider.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/providers/base.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/providers/openai_provider.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/rag/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/rag/context_formatter.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/rag/pipeline_builder.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/rag/reranker.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/rag/result.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/rag/retriever.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/redis_store.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/streaming.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/tools/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/tools/base_tool.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/tools/first_party.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/tools/tool_loop.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/vectorstore/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/vectorstore/base.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/vectorstore/chroma_adapter.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/vectorstore/in_memory_adapter.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/vectorstore/lancedb_adapter.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/vectorstore/pgvector_adapter.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/vectorstore/pinecone_adapter.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/ai/vectorstore/qdrant_adapter.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/auth/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/auth/api_key_guard.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/auth/auth_manager.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/auth/events.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/auth/exceptions.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/auth/jwt_guard.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/auth/jwt_issuer.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/auth/throttle.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/auth/token_blacklist.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/auth/user_context.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/auth_manager.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/cache/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/cache/cache.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/cache/driver.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/cache/drivers/memory.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/cache/drivers/redis.py +0 -0
- {swiftpy_framework-0.3.8/swiftpy/core → swiftpy_framework-0.3.9/swiftpy/console}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/cli.py +0 -0
- {swiftpy_framework-0.3.8/tests → swiftpy_framework-0.3.9/swiftpy/console/commands}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/commands/cache.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/commands/make.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/commands/migrate.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/commands/queue.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/commands/schedule.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/commands/seed.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/commands/start.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/commands/storage.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/loader.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/agent.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/controller.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/event.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/job.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/listener.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/mail.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/middleware.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/migration.alter.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/migration.api_keys.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/migration.blank.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/migration.create.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/migration.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/migration.update.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/model.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/prompt.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/provider.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/repository.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/request.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/resource.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/schema.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/seeder.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/service.stub +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/console/stubs/tool.stub +0 -0
- {swiftpy_framework-0.3.8/tests/ai → swiftpy_framework-0.3.9/swiftpy/core}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/core/application.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/core/bootstrap.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/core/config.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/core/container.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/core/container_exceptions.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/core/context.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/core/exceptions.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/core/providers/base.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/exceptions.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/identifiers.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/migrations/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/migrations/blueprint.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/migrations/lock.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/migrations/migration.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/migrations/migrator.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/migrations/schema.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/orm/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/orm/fields.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/orm/model.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/orm/registry.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/orm/relationships.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/pagination/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/pagination/contracts.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/pagination/paginator.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/pagination/simple_paginator.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/pool.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/query_builder.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/seeder.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/database/transaction.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/events/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/events/dispatcher.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/events/redis_bus.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/disk.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/drivers/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/drivers/base.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/drivers/local.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/drivers/s3.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/events.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/exceptions.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/manager.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/metadata.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/paths.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/service_provider.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/uploads/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/uploads/handlers.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/uploads/uploaded_file.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/uploads/validators.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/filesystem/visibility.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/helpers/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/helpers/helper.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/http/client_ip.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/http/exceptions.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/http/middleware.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/http/request.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/http/response.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/http/router.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/logging/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/logging/channels.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/logging/log.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/logging/manager.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/attachments.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/config.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/envelope.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/exceptions.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/facade.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/mailable.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/manager.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/message.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/models.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/queue/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/queue/job.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/service_provider.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/templates/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/templates/renderer.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/transports/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/transports/api/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/transports/api/base.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/transports/api/mailgun.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/transports/api/resend.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/transports/api/sendgrid.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/transports/base.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/transports/console.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/transports/sendmail.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/mail/transports/smtp.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/py.typed +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/queue/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/queue/dispatcher.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/queue/job.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/queue/worker.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/scheduling/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/scheduling/_redis_lua.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/scheduling/cron.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/scheduling/events.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/scheduling/exceptions.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/scheduling/jobs.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/scheduling/models.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/scheduling/scheduler.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/scheduling/signing.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/scheduling/store.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/schemas/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/schemas/base.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/schemas/fields.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/support/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/support/hashing.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/support/keys.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/support/redis_config.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/support/strings.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/testing/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/testing/fakes/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/testing/fakes/ai_fake.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/testing/fakes/vectorstore_fake.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/testing/fixtures.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/testing/http_client.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/testing/test_case.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/validation/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/validation/exceptions.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/validation/form_request.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/validation/protocols.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/validation/rules/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/validation/rules/builtin.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/validation/rules/exists.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/validation/rules/registry.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/validation/rules/required.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/validation/rules/unique.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/validation/validator.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/websockets/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/websockets/connection.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/swiftpy/websockets/manager.py +0 -0
- {swiftpy_framework-0.3.8/tests/app → swiftpy_framework-0.3.9/tests}/__init__.py +0 -0
- {swiftpy_framework-0.3.8/tests/auth → swiftpy_framework-0.3.9/tests/ai}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/conftest.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/integration/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/integration/test_chroma.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/integration/test_lancedb.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/integration/test_pinecone.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/integration/test_qdrant.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/integration/test_rag_integration.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_agents.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_ai_fake.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_ai_fake_isolation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_client.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_conversation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_embeddings.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_middleware.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_middleware_concurrency.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_observability.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_observability_resilience.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_phase7_ai_remediation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_phase8_agents_tools_prompts_remediation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_phase8_rag_remediation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_phase8_vectorstore_remediation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_prompts.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_prompts_security.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_providers.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_rag.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_streaming.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_tools.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_vectorstore.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/ai/test_vectorstore_adapters.py +0 -0
- {swiftpy_framework-0.3.8/tests/cache → swiftpy_framework-0.3.9/tests/app}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/app/test_application_providers.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/app/test_starter_auth.py +0 -0
- {swiftpy_framework-0.3.8/tests/concurrency → swiftpy_framework-0.3.9/tests/auth}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/auth/test_api_key_guard.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/auth/test_auth_attempt.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/auth/test_auth_context_on_issue.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/auth/test_auth_manager.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/auth/test_auth_proxy.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/auth/test_auth_remediation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/auth/test_auth_security.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/auth/test_auth_throttle.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/auth/test_jwt_defaults.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/auth/test_jwt_issuer.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/auth/test_password_hashing.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/auth/test_refresh_and_logout.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/auth/test_token_blacklist.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/benchmarks.py +0 -0
- {swiftpy_framework-0.3.8/tests/console → swiftpy_framework-0.3.9/tests/cache}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/cache/test_cache_concurrency.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/cache/test_cache_manager.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/cache/test_driver_correctness.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/cache/test_memory_cache.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/cache/test_redis_cache.py +0 -0
- {swiftpy_framework-0.3.8/tests/core → swiftpy_framework-0.3.9/tests/concurrency}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/concurrency/test_circular_dependency.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/concurrency/test_container_semantics.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/concurrency/test_resolution.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/concurrency/test_resolution2.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/conftest.py +0 -0
- {swiftpy_framework-0.3.8/tests/database → swiftpy_framework-0.3.9/tests/console}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/console/test_cache_commands.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/console/test_cli.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/console/test_start.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/console/test_storage_command.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/console/test_stubs_and_make.py +0 -0
- {swiftpy_framework-0.3.8/tests/db → swiftpy_framework-0.3.9/tests/core}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/core/test_application_config_isolation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/core/test_core_config.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/core/test_exceptions.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/core/test_helpers.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/core/test_instance_singletons.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/core/test_lifespan.py +0 -0
- {swiftpy_framework-0.3.8/tests/docs → swiftpy_framework-0.3.9/tests/database}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/database/test_orm_expansion.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/database/test_orm_vector.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/database/test_pagination_and_grouping.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/database/test_pagination_pg_integration.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/database/test_pgvector_integration.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/database/test_phase4_remediation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/database/test_query_expansion.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/database/test_query_expansion_pg_integration.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/database/test_query_helpers_v036.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/database/test_seeder.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/database/test_sequence_gaps.py +0 -0
- {swiftpy_framework-0.3.8/tests/e2e → swiftpy_framework-0.3.9/tests/db}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/db/load_test_database.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/db/load_test_database2.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/db/test_arbitrary_primary_keys.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/db/test_identifiers.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/db/test_mass_writes.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/db/test_pool_config.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/db/test_query_builder_terminals.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/db/test_sql_injections.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/db/test_transaction_isolation.py +0 -0
- {swiftpy_framework-0.3.8/tests/events → swiftpy_framework-0.3.9/tests/docs}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/docs/test_readme_examples.py +0 -0
- {swiftpy_framework-0.3.8/tests/filesystem → swiftpy_framework-0.3.9/tests/e2e}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/e2e/test_concurrent_auth.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/e2e/test_crud_auth_e2e.py +0 -0
- {swiftpy_framework-0.3.8/tests/http → swiftpy_framework-0.3.9/tests/events}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/events/test_event_dispatcher.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/events/test_model_events.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/events/test_redis_bus.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/events/test_redis_bus_reliability.py +0 -0
- {swiftpy_framework-0.3.8/tests/integration → swiftpy_framework-0.3.9/tests/filesystem}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/filesystem/test_cli_storage_link.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/filesystem/test_disk.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/filesystem/test_filesystem_concurrency.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/filesystem/test_filesystem_config.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/filesystem/test_http_integration.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/filesystem/test_local_driver.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/filesystem/test_multipart.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/filesystem/test_paths.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/filesystem/test_phase6_filesystem_remediation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/filesystem/test_s3_driver.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/filesystem/test_signed_urls.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/filesystem/test_storage_facade.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/filesystem/test_uploaded_file.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/filesystem/test_validation.py +0 -0
- {swiftpy_framework-0.3.8/tests/mail → swiftpy_framework-0.3.9/tests/http}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/http/test_client_ip.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/http/test_controller_routing.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/http/test_error_pipeline.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/http/test_http_remediation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/http/test_include_router.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/http/test_request.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/http/test_request_router_abort.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/http/test_response.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/http/test_route_groups.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/http/test_router.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/http/test_router_405_and_has_file.py +0 -0
- {swiftpy_framework-0.3.8/tests/migrations → swiftpy_framework-0.3.9/tests/integration}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/integration/test_queue_event_websocket.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/logging/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/logging/test_logging.py +0 -0
- {swiftpy_framework-0.3.8/tests/orm → swiftpy_framework-0.3.9/tests/mail}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/mail/test_api_transports.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/mail/test_attachments.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/mail/test_cli_make_mail.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/mail/test_console_transport.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/mail/test_envelope.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/mail/test_facade_and_fake.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/mail/test_mailable.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/mail/test_manager_and_config.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/mail/test_message.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/mail/test_phase6_mail_remediation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/mail/test_queue_integration.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/mail/test_service_provider_and_helpers.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/mail/test_smtp_and_sendmail.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/mail/test_templates.py +0 -0
- {swiftpy_framework-0.3.8/tests/queue → swiftpy_framework-0.3.9/tests/migrations}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/migrations/test_migrations.py +0 -0
- {swiftpy_framework-0.3.8/tests/security → swiftpy_framework-0.3.9/tests/orm}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/orm/test_eager_loading.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/orm/test_hidden.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/orm/test_instance_update.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/orm/test_mass_assignment.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/orm/test_model_events_transaction.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/orm/test_where_has.py +0 -0
- {swiftpy_framework-0.3.8/tests/stress → swiftpy_framework-0.3.9/tests/queue}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/queue/test_after_commit.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/queue/test_phase5_remediation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/queue/test_poison_messages.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/queue/test_queue.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/queue/test_reliability.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/queue/test_signing.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/queue/test_worker_behavior.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/scheduling/test_cron_and_timezone.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/scheduling/test_scheduler_core.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/scheduling/test_scheduler_lifecycle_and_cli.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/scheduling/test_scheduler_queue_integration.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/scheduling/test_scheduler_recovery_and_failures.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/scheduling/test_scheduler_redis_store.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/scheduling/test_scheduler_worker_lifecycle.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/schemas/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/schemas/test_schema_auth.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/schemas/test_schema_orm_and_cli.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/schemas/test_schema_routing.py +0 -0
- {swiftpy_framework-0.3.8/tests/support → swiftpy_framework-0.3.9/tests/security}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/security/test_security_audit.py +0 -0
- {swiftpy_framework-0.3.8/tests/testing → swiftpy_framework-0.3.9/tests/stress}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/stress/test_context_isolation.py +0 -0
- {swiftpy_framework-0.3.8/tests/typing → swiftpy_framework-0.3.9/tests/support}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/support/test_redis_config.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/support/test_strings.py +0 -0
- {swiftpy_framework-0.3.8/tests/validation → swiftpy_framework-0.3.9/tests/testing}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/testing/test_fixtures.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/testing/test_phase9_testing_remediation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/testing/test_test_client.py +0 -0
- {swiftpy_framework-0.3.8/tests/websockets → swiftpy_framework-0.3.9/tests/typing}/__init__.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/typing/test_schema_typing.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/validation/test_db_rules.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/validation/test_form_request_fail_closed.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/validation/test_form_request_pipeline.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/validation/test_phase6_validation_remediation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/validation/test_rules_hardening.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/validation/test_validation_concurrency.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/validation/test_validation_ergonomics.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/validation/test_validator_rules.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/websockets/test_broadcast.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/websockets/test_handshake.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/websockets/test_lifecycle.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/websockets/test_websocket_concurrency.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/websockets/test_websocket_connection.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/websockets/test_websocket_manager.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/websockets/test_websocket_remediation.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/websockets/test_websocket_routing_and_lifecycle.py +0 -0
- {swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/views/mail/template.html +0 -0
|
@@ -85,6 +85,10 @@ jobs:
|
|
|
85
85
|
uv run mypy .
|
|
86
86
|
uv run mypy --explicit-package-bases .
|
|
87
87
|
|
|
88
|
+
- name: Run Pyrefly
|
|
89
|
+
run: |
|
|
90
|
+
uvx pyrefly check --python-interpreter-path .venv/bin/python --error=no-any-return-implicit swiftpy/database/ config/ app/ routes/ database/ main.py tests/typing/
|
|
91
|
+
|
|
88
92
|
- name: Dependency security audit
|
|
89
93
|
run: uv run --no-sync --with pip-audit pip-audit --desc on
|
|
90
94
|
|
|
@@ -101,6 +105,7 @@ jobs:
|
|
|
101
105
|
(
|
|
102
106
|
cd /tmp && /tmp/swiftpy-wheel-smoke/bin/python -c '
|
|
103
107
|
import asyncio
|
|
108
|
+
import pathlib
|
|
104
109
|
import swiftpy
|
|
105
110
|
import swiftpy.testing
|
|
106
111
|
from swiftpy import Application, Request, json_response
|
|
@@ -108,6 +113,7 @@ jobs:
|
|
|
108
113
|
from swiftpy.ai.embeddings import EmbeddingsClient, generate_deterministic_embedding
|
|
109
114
|
|
|
110
115
|
assert hasattr(swiftpy, "ai")
|
|
116
|
+
assert (pathlib.Path(swiftpy.__file__).resolve().parent / "py.typed").is_file()
|
|
111
117
|
app = Application(auto_discover_providers=False)
|
|
112
118
|
|
|
113
119
|
@app.get("/smoke")
|
|
@@ -189,4 +195,11 @@ jobs:
|
|
|
189
195
|
out, _ = proc.communicate(timeout=5)
|
|
190
196
|
assert ok, out
|
|
191
197
|
'
|
|
192
|
-
rm -rf /tmp/swiftpy-
|
|
198
|
+
rm -rf /tmp/swiftpy-pyrefly-smoke && mkdir -p /tmp/swiftpy-pyrefly-smoke
|
|
199
|
+
(
|
|
200
|
+
cd /tmp/swiftpy-pyrefly-smoke
|
|
201
|
+
/tmp/swiftpy-wheel-smoke/bin/swiftpy new ci_smoke_api
|
|
202
|
+
cd ci_smoke_api
|
|
203
|
+
uvx pyrefly check --python-interpreter-path /tmp/swiftpy-wheel-smoke/bin/python --error=no-any-return-implicit app/ config/ routes/ database/ prompts/ main.py
|
|
204
|
+
)
|
|
205
|
+
rm -rf /tmp/swiftpy-pyrefly-smoke /tmp/swiftpy-wheel-smoke
|
|
@@ -4,6 +4,23 @@ All notable changes to SwiftPY will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.3.9] - 2026-11-27
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- **Scaffolding Static Analysis Hardening (`swiftpy/console/commands/new.py`, `pyproject.toml`):**
|
|
11
|
+
- Replaced global `ignore_missing_imports = true` and `follow_imports = "silent"` under `[tool.mypy]` in `swiftpy new` (`_get_pyproject_toml`) with scoped `[[tool.mypy.overrides]]` for untyped third-party packages (`asyncpg`, `aiosmtplib`, `jinja2`, and `disallow_untyped_calls = false` for `redis.*`). Because Pyrefly imports `[tool.mypy]` when `pyrefly.toml` is absent, removing global `ignore_missing_imports = true` ensures Pyrefly immediately reports `[missing-import]` when a host IDE interpreter lacks `swiftpy-framework` instead of silently replacing `Model` with `Unknown` and triggering misleading `[no-any-return-implicit]` errors on repository methods.
|
|
12
|
+
- Expanded `[tool.ruff.lint.per-file-ignores]` in `pyproject.toml` and `swiftpy new` to cover `"app/models/**/*.py" = ["RUF012"]`, `"app/**/models/**/*.py" = ["RUF012"]`, and `"tests/**/*.py" = ["RUF012"]`, allowing models in standard, feature-grouped, and test directories to define `__fillable__ = [...]`, `__guarded__ = [...]`, and `__hidden__ = [...]` without `typing.ClassVar`.
|
|
13
|
+
- Bumped `swiftpy-framework` package version and `swiftpy new` dependency floor to `0.3.9`.
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- **Static Typing, Wheel Packaging & GitHub CI Pyrefly Gates (`tests/typing/test_orm_typing.py`, `tests/console/test_new_command.py`, `.github/workflows/ci.yml`):**
|
|
17
|
+
- Added `typing.assert_type` assertions across direct `Model` query chains, repository methods, and relationship chains (`HasMany`, `BelongsTo`) verified under both `mypy --strict` and `pyrefly check --error=no-any-return-implicit`.
|
|
18
|
+
- Added `test_py_typed_marker_present_in_package_and_wheel_config` verifying `swiftpy/py.typed` exists on disk, in Hatchling wheel config, and inside built wheel artifacts (`dist/swiftpy_framework-*.whl`).
|
|
19
|
+
- Added `Run Pyrefly` and isolated wheel `py.typed` + `swiftpy new` Pyrefly smoke-test verification to `.github/workflows/ci.yml`.
|
|
20
|
+
|
|
21
|
+
### Documentation
|
|
22
|
+
- Updated [ORM Models & Relationships](documentations/2026-11-15-orm-models-and-relationships.md), [Installation & Quick Start](documentations/2026-11-14-installation-quick-start.md), [CLI & Testing](documentations/2026-11-19-cli-and-testing.md), and [README.md](README.md) with guidance on `ClassVar`-free model metadata (`__fillable__`, `__guarded__`, `__hidden__`), host IDE `.venv` setup for Dockerized projects, and avoiding global `ignore_missing_imports = true` with Pyrefly.
|
|
23
|
+
|
|
7
24
|
## [0.3.8] - 2026-11-25
|
|
8
25
|
|
|
9
26
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: swiftpy-framework
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.9
|
|
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
|
|
@@ -97,6 +97,7 @@ All core architectural, storage, AI, and security hardening phases have been com
|
|
|
97
97
|
| **Release v0.3.6: Query Builder Helpers** | `where_column()`, correlated `where_exists()`, `where_any()`/`where_all()`/`where_none()`, `where_past()`/`where_future()`, JSON `column->path` queries & updates, `union()`/`union_all()`, `shared_lock()`/`lock_for_update()`, debug helpers (`to_raw_sql()`, `dump()`, `dd()`) with ORM parity | ✅ Completed |
|
|
98
98
|
| **Release v0.3.7: Declarative Schemas (`swiftpy.schemas`) & Pyrefly/PEP 561 Typing** | `swiftpy/py.typed` PEP 561 marker, `Model` / `ModelQueryBuilder[T]` fluent generic preservation, `BaseSchema` / `Schema` & `Field(...)` constraints, `@field_validator` / `@model_validator`, Router/Controller auto-injection & JSON serialization, ORM `create()`/`update()` schema interop, `make:schema` & `swiftpy new` updates | ✅ Completed |
|
|
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
|
+
| **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 |
|
|
100
101
|
|
|
101
102
|
*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.*
|
|
102
103
|
|
|
@@ -67,6 +67,7 @@ All core architectural, storage, AI, and security hardening phases have been com
|
|
|
67
67
|
| **Release v0.3.6: Query Builder Helpers** | `where_column()`, correlated `where_exists()`, `where_any()`/`where_all()`/`where_none()`, `where_past()`/`where_future()`, JSON `column->path` queries & updates, `union()`/`union_all()`, `shared_lock()`/`lock_for_update()`, debug helpers (`to_raw_sql()`, `dump()`, `dd()`) with ORM parity | ✅ Completed |
|
|
68
68
|
| **Release v0.3.7: Declarative Schemas (`swiftpy.schemas`) & Pyrefly/PEP 561 Typing** | `swiftpy/py.typed` PEP 561 marker, `Model` / `ModelQueryBuilder[T]` fluent generic preservation, `BaseSchema` / `Schema` & `Field(...)` constraints, `@field_validator` / `@model_validator`, Router/Controller auto-injection & JSON serialization, ORM `create()`/`update()` schema interop, `make:schema` & `swiftpy new` updates | ✅ Completed |
|
|
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
|
+
| **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 |
|
|
70
71
|
|
|
71
72
|
*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.*
|
|
72
73
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
|
|
5
|
+
from swiftpy.database.orm import BelongsTo, Model
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class Profile(Model):
|
|
9
|
+
"""Profile model."""
|
|
10
|
+
|
|
11
|
+
__table__ = "profiles"
|
|
12
|
+
__fillable__ = ["user_id", "username"]
|
|
13
|
+
|
|
14
|
+
id: int
|
|
15
|
+
user_id: int
|
|
16
|
+
username: str
|
|
17
|
+
created_at: datetime
|
|
18
|
+
updated_at: datetime
|
|
19
|
+
|
|
20
|
+
user = BelongsTo("User", foreign_key="user_id")
|
|
@@ -2,7 +2,7 @@ from __future__ import annotations
|
|
|
2
2
|
|
|
3
3
|
from datetime import datetime
|
|
4
4
|
|
|
5
|
-
from swiftpy.database.orm import Model
|
|
5
|
+
from swiftpy.database.orm import HasOne, Model
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class User(Model):
|
|
@@ -24,3 +24,5 @@ class User(Model):
|
|
|
24
24
|
remember_token: str | None = None
|
|
25
25
|
created_at: datetime
|
|
26
26
|
updated_at: datetime
|
|
27
|
+
|
|
28
|
+
profile = HasOne("Profile", foreign_key="user_id")
|
|
@@ -9,13 +9,19 @@ class UserRepository:
|
|
|
9
9
|
Encapsulates database operations and keeps query logic decoupled from business services.
|
|
10
10
|
"""
|
|
11
11
|
|
|
12
|
+
def __init__(self) -> None:
|
|
13
|
+
self.model = User
|
|
14
|
+
|
|
15
|
+
async def get_all(self) -> list[User]:
|
|
16
|
+
return await self.model.with_('profile').get()
|
|
17
|
+
|
|
12
18
|
async def find_by_id(self, user_id: int) -> User | None:
|
|
13
19
|
"""Find a single user by primary key ID."""
|
|
14
|
-
return await User.
|
|
20
|
+
return await User.where("id", user_id).with_('profile').first()
|
|
15
21
|
|
|
16
22
|
async def find_by_email(self, email: str) -> User | None:
|
|
17
23
|
"""Find a single user by email address."""
|
|
18
|
-
return await User.where("email", email).first()
|
|
24
|
+
return await User.where("email", email).with_('profile').first()
|
|
19
25
|
|
|
20
26
|
async def create(self, **attributes: object) -> User:
|
|
21
27
|
"""Persist a new User model instance."""
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from swiftpy.database.migrations import Blueprint, Migration, Schema
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class CreateProfilesTable(Migration):
|
|
7
|
+
async def up(self) -> None:
|
|
8
|
+
def define(table: Blueprint) -> None:
|
|
9
|
+
table.id()
|
|
10
|
+
table.big_integer("user_id").unsigned().index()
|
|
11
|
+
table.string("username", 128).nullable()
|
|
12
|
+
table.timestamps()
|
|
13
|
+
|
|
14
|
+
await Schema.create("profiles", define)
|
|
15
|
+
|
|
16
|
+
async def down(self) -> None:
|
|
17
|
+
await Schema.drop_if_exists("profiles")
|
|
@@ -171,7 +171,7 @@ my_api/
|
|
|
171
171
|
├── docker-compose.yml # name: my_api; app, postgres (pgvector:pg16), & redis services
|
|
172
172
|
├── Dockerfile
|
|
173
173
|
├── main.py # Entrypoint: GET /, /api router, register_exception_handlers(app)
|
|
174
|
-
└── pyproject.toml # Configured with swiftpy-framework>=0.3.
|
|
174
|
+
└── pyproject.toml # Configured with swiftpy-framework>=0.3.9, setuptools, & mypy strict settings
|
|
175
175
|
```
|
|
176
176
|
|
|
177
177
|
What `swiftpy new my_api` configures automatically:
|
|
@@ -186,7 +186,10 @@ Now choose **ONE** of the two run modes below (Option A **or** Option B).
|
|
|
186
186
|
|
|
187
187
|
### Option A: Fully Dockerized (App + PostgreSQL + Redis in Docker)
|
|
188
188
|
|
|
189
|
-
Use this mode if you want Docker to run
|
|
189
|
+
Use this mode if you want Docker to run the application and backing services — **you do not need to install PostgreSQL or Redis on your host.**
|
|
190
|
+
|
|
191
|
+
> **Host IDE Autocomplete & Pyrefly / Mypy Type Checking (Windows, macOS, Linux):**
|
|
192
|
+
> Docker installs `swiftpy-framework` inside the Linux container image, whereas your code editor (VS Code, Antigravity, Cursor, PyCharm) and its type-checking extensions (**Pyrefly**, **Mypy**, **Pylance**) run on your host OS unless you attach via Dev Containers. To get full IDE type inference on the host without running a local server, create the local virtual environment once with `uv sync` (or `python -m venv .venv && .venv/bin/pip install -e .`) and select `.venv` as your editor's Python interpreter (in multi-folder workspaces such as `workspace/backend`, point `.vscode/settings.json` `python.defaultInterpreterPath` at `${workspaceFolder}/backend/.venv/Scripts/python.exe` on Windows or `${workspaceFolder}/backend/.venv/bin/python` on macOS/Linux).
|
|
190
193
|
|
|
191
194
|
1. Inside `my_api`, review `.env` (optional — defaults already work out of the box with Compose).
|
|
192
195
|
2. Build and start `app`, `postgres`, and `redis`:
|
|
@@ -325,7 +328,7 @@ The scaffolded `Dockerfile` reads `[project].dependencies` from your project's `
|
|
|
325
328
|
name = "my_api"
|
|
326
329
|
version = "0.1.0"
|
|
327
330
|
dependencies = [
|
|
328
|
-
"swiftpy-framework>=0.3.
|
|
331
|
+
"swiftpy-framework>=0.3.9",
|
|
329
332
|
# ...
|
|
330
333
|
]
|
|
331
334
|
```
|
|
@@ -355,7 +358,7 @@ If running without Docker, upgrade inside your activated `.venv`:
|
|
|
355
358
|
uv sync --upgrade-package swiftpy-framework
|
|
356
359
|
|
|
357
360
|
# Or with pip
|
|
358
|
-
python -m pip install --upgrade "swiftpy-framework>=0.3.
|
|
361
|
+
python -m pip install --upgrade "swiftpy-framework>=0.3.9"
|
|
359
362
|
swiftpy --version
|
|
360
363
|
```
|
|
361
364
|
|
|
@@ -88,7 +88,11 @@ class User(Model):
|
|
|
88
88
|
updated_at: datetime | None = None
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
You do **not** need `typing.ClassVar` on model configuration attributes (`__table__`, `__primary_key__`, `__fillable__`, `__guarded__`, `__hidden__`, `strict_events`, `prevent_lazy_loading`) or relationship descriptors
|
|
91
|
+
You do **not** need `typing.ClassVar` on model configuration attributes (`__table__`, `__primary_key__`, `__fillable__`, `__guarded__`, `__hidden__`, `strict_events`, `prevent_lazy_loading`) or relationship descriptors:
|
|
92
|
+
|
|
93
|
+
- **How it works in Mypy & Pyrefly:** The `Model` base class already declares `__table__`, `__primary_key__`, `__fillable__`, `__guarded__`, and `__hidden__` as `ClassVar[...]` (and `Model.__init_subclass__` skips all `__`-prefixed attributes when discovering database columns). By PEP 526, subclasses that assign `__fillable__ = ["name", "email"]`, `__guarded__ = ["id", "created_at", "updated_at"]`, `__guarded__ = []`, or `__hidden__ = ["password"]` **without a type annotation** inherit `ClassVar` automatically.
|
|
94
|
+
- **Do not annotate metadata attributes without `ClassVar`:** Always write `__guarded__ = ["id"]` or `__fillable__ = ["name"]` as plain unannotated assignments (do **not** write `__guarded__: list[str] = ["id"]`, which Python type checkers reject as an instance variable overriding `Model`'s `ClassVar`). Existing models that explicitly write `__guarded__: ClassVar[list[str]] = []` continue to work identically.
|
|
95
|
+
- **How it works in Ruff (`RUF012`):** Scaffolded projects (`swiftpy new`) configure `[tool.ruff.lint.per-file-ignores]` for `"app/models/**/*.py" = ["RUF012"]`, `"app/**/models/**/*.py" = ["RUF012"]`, and `"tests/**/*.py" = ["RUF012"]` so Ruff never demands `ClassVar` on mutable list metadata in model or test files.
|
|
92
96
|
|
|
93
97
|
Your application template ships a starter `User` model in `app/models/user.py` that already sets `__primary_key__ = "id"`, `__fillable__ = ["name", "email", "password", "is_admin"]`, and `__hidden__ = ["password"]`.
|
|
94
98
|
|
|
@@ -298,6 +302,11 @@ groups: list[DocGroup] = await versions[0].groups.where_in("id", [1, 2]).latest(
|
|
|
298
302
|
author: User | None = await versions[0].author
|
|
299
303
|
```
|
|
300
304
|
|
|
305
|
+
> **Repository & IDE Type-Checking Best Practices:**
|
|
306
|
+
> - **Assign the model class, not an instance:** Set `model = DocVersion` on the repository class (or `self.model = DocVersion` in `__init__(self) -> None:`), never `self.model = DocVersion()` (which instantiates an unsaved model object on every repository initialization).
|
|
307
|
+
> - **Handle nullable `.first()` and `.find()` lookups:** `.first()` and `.find()` return `T | None`. In repository methods declared to return `-> T`, either check `if not record: raise NotFoundError(...)` before returning or call `.first_or_fail()` / `.find_or_fail()`.
|
|
308
|
+
> - **Ensure your host IDE interpreter has `swiftpy-framework` installed:** Even if you run your app inside Docker, host IDE extensions (Pyrefly, Mypy, Pylance) execute on your host OS and require a local `.venv` (`uv sync`). Never set global `ignore_missing_imports = true` under `[tool.mypy]` in `pyproject.toml`—Pyrefly imports `[tool.mypy]` when `pyrefly.toml` is absent and will silently turn unresolved `Model` imports into `Unknown` (`[no-any-return-implicit]`) instead of reporting a missing import.
|
|
309
|
+
|
|
301
310
|
#### Query Builder Methods on `Model`
|
|
302
311
|
|
|
303
312
|
Every `Model` exposes classmethods that return a `ModelQueryBuilder` bound to that model. You can chain filters and either call a terminal method or `await` the query directly:
|
{swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/documentations/2026-11-19-cli-and-testing.md
RENAMED
|
@@ -239,16 +239,40 @@ async def test_insert_is_rolled_back(db_transaction) -> None:
|
|
|
239
239
|
|
|
240
240
|
### Static Type Checking (`pyrefly` & `mypy --strict`)
|
|
241
241
|
|
|
242
|
-
SwiftPY ships a PEP 561 `py.typed` marker alongside generic ORM, relationship (`RelationshipQueryBuilder[T]`, `SingleRelationshipQueryBuilder[T]`), and `@dataclass_transform` `BaseSchema` annotations:
|
|
242
|
+
SwiftPY ships a PEP 561 `py.typed` marker inside the built wheel alongside generic ORM (`ModelQueryBuilder[T]`), relationship (`RelationshipQueryBuilder[T]`, `SingleRelationshipQueryBuilder[T]`), and `@dataclass_transform` `BaseSchema` annotations:
|
|
243
243
|
|
|
244
244
|
```bash
|
|
245
245
|
# Type-check application code strictly with Mypy
|
|
246
246
|
uv run mypy --strict .
|
|
247
247
|
|
|
248
|
-
# Type-check with Pyrefly
|
|
249
|
-
uvx pyrefly check --error=no-any-return-implicit .
|
|
248
|
+
# Type-check with Pyrefly using your project's .venv interpreter
|
|
249
|
+
uvx pyrefly check --python-interpreter-path .venv/bin/python --error=no-any-return-implicit .
|
|
250
250
|
```
|
|
251
251
|
|
|
252
|
+
Key configuration rules for Pyrefly, Mypy, and Ruff (configured automatically by `swiftpy new` in `pyproject.toml`):
|
|
253
|
+
|
|
254
|
+
- **Never set global `ignore_missing_imports = true` under `[tool.mypy]`:** When no `pyrefly.toml` is present, Pyrefly automatically imports `[tool.mypy]` settings from `pyproject.toml`. A global `ignore_missing_imports = true` suppresses `[missing-import]` diagnostics when an IDE interpreter lacks `swiftpy-framework` (for example, on a Windows host when dependencies were only installed inside Docker) and silently turns `Model` into `Unknown`—causing every repository query chain to fail with `Returning implicit Any [no-any-return-implicit]` (`where: Unknown`, `doc: Unknown`). Scope `ignore_missing_imports = true` only to untyped third-party libraries via `[[tool.mypy.overrides]]`:
|
|
255
|
+
```toml
|
|
256
|
+
[tool.mypy]
|
|
257
|
+
strict = true
|
|
258
|
+
explicit_package_bases = true
|
|
259
|
+
|
|
260
|
+
[[tool.mypy.overrides]]
|
|
261
|
+
module = ["asyncpg", "asyncpg.*", "aiosmtplib", "aiosmtplib.*", "jinja2", "jinja2.*"]
|
|
262
|
+
ignore_missing_imports = true
|
|
263
|
+
|
|
264
|
+
[[tool.mypy.overrides]]
|
|
265
|
+
module = ["redis.*"]
|
|
266
|
+
disallow_untyped_calls = false
|
|
267
|
+
```
|
|
268
|
+
- **No `ClassVar` needed on model metadata (`__fillable__`, `__guarded__`, `__hidden__`):** `Model` declares `__table__`, `__primary_key__`, `__fillable__`, `__guarded__`, and `__hidden__` as `ClassVar[...]` on the base class, so subclasses inherit `ClassVar` automatically when written as plain unannotated assignments (`__guarded__ = ["id", "created_at", "updated_at"]`, `__fillable__ = ["name"]`, `__guarded__ = []`). Scaffolded projects also configure Ruff per-file ignores so `RUF012` never demands `ClassVar` on model or test files:
|
|
269
|
+
```toml
|
|
270
|
+
[tool.ruff.lint.per-file-ignores]
|
|
271
|
+
"app/models/**/*.py" = ["RUF012"]
|
|
272
|
+
"app/**/models/**/*.py" = ["RUF012"]
|
|
273
|
+
"tests/**/*.py" = ["RUF012"]
|
|
274
|
+
```
|
|
275
|
+
|
|
252
276
|
---
|
|
253
277
|
|
|
254
278
|
## Documentation Series Complete
|
|
@@ -10,7 +10,7 @@ dev = [
|
|
|
10
10
|
|
|
11
11
|
[project]
|
|
12
12
|
name = "swiftpy-framework"
|
|
13
|
-
version = "0.3.
|
|
13
|
+
version = "0.3.9"
|
|
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 = [
|
|
@@ -89,3 +89,5 @@ python_files = ["test_*.py"]
|
|
|
89
89
|
|
|
90
90
|
[tool.ruff.lint.per-file-ignores]
|
|
91
91
|
"app/models/**/*.py" = ["RUF012"]
|
|
92
|
+
"app/**/models/**/*.py" = ["RUF012"]
|
|
93
|
+
"tests/**/*.py" = ["RUF012"]
|
|
@@ -1375,7 +1375,8 @@ def _parse_proxy_env(raw: Any) -> Any:
|
|
|
1375
1375
|
return raw
|
|
1376
1376
|
stripped = raw.strip()
|
|
1377
1377
|
if not stripped:
|
|
1378
|
-
|
|
1378
|
+
empty: list[str] = []
|
|
1379
|
+
return empty
|
|
1379
1380
|
if stripped.startswith("[") and stripped.endswith("]"):
|
|
1380
1381
|
try:
|
|
1381
1382
|
parsed = json.loads(stripped)
|
|
@@ -1681,7 +1682,7 @@ version = "0.1.0"
|
|
|
1681
1682
|
description = "A SwiftPY web application"
|
|
1682
1683
|
requires-python = ">=3.12"
|
|
1683
1684
|
dependencies = [
|
|
1684
|
-
"swiftpy-framework>=0.3.
|
|
1685
|
+
"swiftpy-framework>=0.3.9",
|
|
1685
1686
|
"uvicorn[standard]>=0.52.4",
|
|
1686
1687
|
"asyncpg>=0.30.0",
|
|
1687
1688
|
"redis>=8.1.0",
|
|
@@ -1708,11 +1709,19 @@ testpaths = ["tests"]
|
|
|
1708
1709
|
[tool.mypy]
|
|
1709
1710
|
strict = true
|
|
1710
1711
|
explicit_package_bases = true
|
|
1711
|
-
|
|
1712
|
+
|
|
1713
|
+
[[tool.mypy.overrides]]
|
|
1714
|
+
module = ["asyncpg", "asyncpg.*", "aiosmtplib", "aiosmtplib.*", "jinja2", "jinja2.*"]
|
|
1712
1715
|
ignore_missing_imports = true
|
|
1713
1716
|
|
|
1717
|
+
[[tool.mypy.overrides]]
|
|
1718
|
+
module = ["redis.*"]
|
|
1719
|
+
disallow_untyped_calls = false
|
|
1720
|
+
|
|
1714
1721
|
[tool.ruff.lint.per-file-ignores]
|
|
1715
1722
|
"app/models/**/*.py" = ["RUF012"]
|
|
1723
|
+
"app/**/models/**/*.py" = ["RUF012"]
|
|
1724
|
+
"tests/**/*.py" = ["RUF012"]
|
|
1716
1725
|
"""
|
|
1717
1726
|
|
|
1718
1727
|
|
|
@@ -484,8 +484,12 @@ def test_scaffolded_packaging_and_plain_mypy_config(
|
|
|
484
484
|
assert "[build-system]" in pyproject
|
|
485
485
|
assert "[tool.setuptools.packages.find]" in pyproject
|
|
486
486
|
assert "[tool.mypy]" in pyproject
|
|
487
|
+
assert "[[tool.mypy.overrides]]" in pyproject
|
|
488
|
+
assert 'follow_imports = "silent"' not in pyproject
|
|
487
489
|
assert "[tool.ruff.lint.per-file-ignores]" in pyproject
|
|
488
490
|
assert '"app/models/**/*.py" = ["RUF012"]' in pyproject
|
|
491
|
+
assert '"app/**/models/**/*.py" = ["RUF012"]' in pyproject
|
|
492
|
+
assert '"tests/**/*.py" = ["RUF012"]' in pyproject
|
|
489
493
|
|
|
490
494
|
compose = (app_dir / "docker-compose.yml").read_text(encoding="utf-8")
|
|
491
495
|
assert compose.startswith("name: pkg_app\n")
|
{swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/console/test_phase9_cli_remediation.py
RENAMED
|
@@ -24,7 +24,7 @@ def test_new_command_templates_hardened(
|
|
|
24
24
|
assert "pyproject.toml" in dockerfile
|
|
25
25
|
|
|
26
26
|
pyproject = (app_dir / "pyproject.toml").read_text(encoding="utf-8")
|
|
27
|
-
assert '"swiftpy-framework>=0.3.
|
|
27
|
+
assert '"swiftpy-framework>=0.3.9"' in pyproject
|
|
28
28
|
|
|
29
29
|
dockerignore = (app_dir / ".dockerignore").read_text(encoding="utf-8")
|
|
30
30
|
assert "public/storage" in dockerignore
|
|
@@ -26,7 +26,7 @@ class DefaultDemoModel(Model):
|
|
|
26
26
|
name: str
|
|
27
27
|
tags: list[str] = Field(default_factory=list)
|
|
28
28
|
metadata_map: dict[str, Any] = Field(default_factory=dict)
|
|
29
|
-
direct_list: list[int] = [] #
|
|
29
|
+
direct_list: list[int] = [] # Testing mutable class default isolation
|
|
30
30
|
generated_id: str = Field(default_factory=lambda: str(uuid.uuid4()))
|
|
31
31
|
sequence_num: int = Field(default_factory=_counter)
|
|
32
32
|
__guarded__: ClassVar[list[str]] = []
|
{swiftpy_framework-0.3.8 → swiftpy_framework-0.3.9}/tests/orm/test_relationships_hardening.py
RENAMED
|
@@ -202,7 +202,7 @@ def test_string_relationship_target_requires_import_before_resolution() -> None:
|
|
|
202
202
|
|
|
203
203
|
class OrderOwner(Model):
|
|
204
204
|
__table__ = "test_order_owners"
|
|
205
|
-
__fillable__ = ["name"]
|
|
205
|
+
__fillable__ = ["name"]
|
|
206
206
|
id: int
|
|
207
207
|
name: str
|
|
208
208
|
items = HasMany("LateImportedItem", foreign_key="owner_id")
|
|
@@ -213,7 +213,7 @@ def test_string_relationship_target_requires_import_before_resolution() -> None:
|
|
|
213
213
|
|
|
214
214
|
class LateImportedItem(Model):
|
|
215
215
|
__table__ = "test_late_imported_items"
|
|
216
|
-
__fillable__ = ["owner_id", "label"]
|
|
216
|
+
__fillable__ = ["owner_id", "label"]
|
|
217
217
|
id: int
|
|
218
218
|
owner_id: int
|
|
219
219
|
label: str
|