Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 544 for c_test (0.21 sec)

  1. cmd/bucket-notification-handlers.go

    )
    
    const (
    	bucketNotificationConfig = "notification.xml"
    )
    
    // GetBucketNotificationHandler - This HTTP handler returns event notification configuration
    // as per http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html.
    // It returns empty configuration if its not set.
    func (api objectAPIHandlers) GetBucketNotificationHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetBucketNotification")
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. tests/test_arbitrary_types.py

    from typing import Annotated
    
    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    
    @pytest.fixture(name="client")
    def get_client():
        from pydantic import (
            BaseModel,
            ConfigDict,
            PlainSerializer,
            TypeAdapter,
            WithJsonSchema,
        )
    
        class FakeNumpyArray:
            def __init__(self):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. tests/test_dependency_class.py

    from collections.abc import AsyncGenerator, Generator
    
    import pytest
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    class CallableDependency:
        def __call__(self, value: str) -> str:
            return value
    
    
    class CallableGenDependency:
        def __call__(self, value: str) -> Generator[str, None, None]:
            yield value
    
    
    class AsyncCallableDependency:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. tests/test_regex_deprecated_body.py

    from typing import Annotated
    
    import pytest
    from fastapi import FastAPI, Form
    from fastapi.exceptions import FastAPIDeprecationWarning
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from .utils import needs_py310
    
    
    def get_client():
        app = FastAPI()
        with pytest.warns(FastAPIDeprecationWarning):
    
            @app.post("/items/")
            async def read_items(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. docs/de/docs/project-generation.md

    - 🔒 Sicheres Passwort-Hashing standardmäßig.
    - 🔑 JWT (JSON Web Token)-Token-Authentifizierung.
    - 📫 E-Mail-basierte Passwortwiederherstellung.
    - ✅ Tests mit [Pytest](https://pytest.org).
    - 📞 [Traefik](https://traefik.io) als Reverse-Proxy / Load Balancer.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. docs/ru/docs/project-generation.md

    - 🐋 [Docker Compose](https://www.docker.com) для разработки и продакшна.
    - 🔒 Безопасное хэширование паролей по умолчанию.
    - 🔑 Аутентификация по JWT‑токенам.
    - 📫 Восстановление пароля по электронной почте.
    - ✅ Тесты с [Pytest](https://pytest.org).
    - 📞 [Traefik](https://traefik.io) в роли обратного прокси / балансировщика нагрузки.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshotFromQuickFeedback.kt

            triggerName = "QuickFeedback",
        ) {
        init {
            id("Promotion_SnapshotFromQuickFeedback")
            name = "Nightly Snapshot (from QuickFeedback)"
            description = "Promotes the latest successful changes on '${branch.branchName}' from Quick Feedback as a new nightly snapshot"
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Mar 20 06:13:56 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. tests/test_get_model_definitions_formfeed_escape.py

    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    
    @pytest.fixture(name="client")
    def client_fixture() -> TestClient:
        from pydantic import BaseModel
    
        class Address(BaseModel):
            """
            This is a public description of an Address
            \f
            You can't see this part of the docstring, it's private!
            """
    
            line_1: str
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. .github/workflows/depsreview.yaml

    name: 'Dependency Review'
    on: [pull_request]
    
    permissions:
      contents: read
    
    jobs:
      dependency-review:
        runs-on: ubuntu-latest
        steps:
          - name: 'Checkout Repository'
            uses: actions/checkout@v4
          - name: 'Dependency Review'
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Mar 28 23:44:49 UTC 2024
    - 296 bytes
    - Viewed (0)
  10. tests/test_response_model_as_return_annotation.py

    
    def test_response_model_no_annotation_return_invalid_dict():
        with pytest.raises(ResponseValidationError) as excinfo:
            client.get("/response_model-no_annotation-return_invalid_dict")
        assert "missing" in str(excinfo.value)
    
    
    def test_response_model_no_annotation_return_invalid_model():
        with pytest.raises(ResponseValidationError) as excinfo:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 47.7K bytes
    - Viewed (0)
Back to top