Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 1,314 for orjson (0.04 seconds)

  1. tests/test_filter_pydantic_sub_model_pv2.py

                "ctx": {"error": HasRepr("ValueError('name must end in A')")},
            }
        ]
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/model/{name}": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  2. tests/test_forms_from_non_typing_sequences.py

        )
        assert response.status_code == 200, response.text
        assert response.json() == ["first", "second", "third"]
    
    
    def test_python_set_param_as_form():
        response = client.post(
            "/form/python-set", data={"items": ["first", "second", "third"]}
        )
        assert response.status_code == 200, response.text
        assert set(response.json()) == {"first", "second", "third"}
    
    
    def test_python_tuple_param_as_form():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 1.2K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial002_py310.py hl[4,26] *}
    
    Поле `data` завжди кодується як JSON. Ви можете передати будь-яке значення, яке можна серіалізувати в JSON, включно з моделями Pydantic.
    
    ## Сирі дані { #raw-data }
    
    Якщо потрібно надіслати дані **без** кодування в JSON, використовуйте `raw_data` замість `data`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:25:54 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  4. docs/uk/docs/how-to/separate-openapi-schemas.md

    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image02.png">
    </div>
    
    Це означає, що воно **завжди матиме значення** - просто іноді це значення може бути `None` (або `null` у JSON).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:43:14 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  5. helm/minio/templates/configmap.yaml

      {{- range $idx, $policy := .Values.policies }}
      # Policy: {{ $policy.name }}
      policy_{{ $idx }}.json: |-
        {{- include (print $.Template.BasePath "/_helper_policy.tpl") . | nindent 4 }}
      {{ end }}
      {{- range $idx, $svc := .Values.svcaccts }}
      {{- if $svc.policy }}
      # SVC: {{ $svc.accessKey }}
      svc_policy_{{ $idx }}.json: |-
        {{- include (print $.Template.BasePath "/_helper_policy.tpl") .policy | nindent 4 }}
      {{- end }}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 17 06:04:15 GMT 2023
    - 1.2K bytes
    - Click Count (0)
  6. .github/workflows/deploy-docs.yml

      issues: write
      pull-requests: write
      statuses: write
    
    jobs:
      deploy-docs:
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - name: Set up Python
            uses: actions/setup-python@v6
            with:
              python-version-file: ".python-version"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 03 00:12:02 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  7. tests/test_dependency_security_overrides.py

    
    def test_normal():
        response = client.get("/user")
        assert response.json() == {
            "user": "john",
            "scopes": ["foo", "bar"],
            "data": [1, 2, 3],
        }
    
    
    def test_override_data():
        app.dependency_overrides[get_data] = get_data_override
        response = client.get("/user")
        assert response.json() == {
            "user": "john",
            "scopes": ["foo", "bar"],
            "data": [3, 4, 5],
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.4K bytes
    - Click Count (1)
  8. tests/test_arbitrary_types.py

                "title": "MyModel",
                "type": "object",
            }
        )
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("openapi.json")
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/": {
                        "get": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_lines_number_lt.md

    <span style="color: green;">[INFO]</span> Start watching changes
    <span style="color: green;">[INFO]</span> Start detecting changes
    ```
    
    And even more text
    
    ```json
    {
        // This is a sample JSON code block
        "greeting": "Hello, world!" // Greeting
    }
    ```
    
    Диаграма Mermaid
    
    ```mermaid
    flowchart LR
        stone(philosophers-stone) -->|requires| harry-1[harry v1]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 892 bytes
    - Click Count (0)
  10. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_mermaid_not_translated.md

    <span style="color: green;">[INFO]</span> Start watching changes
    <span style="color: green;">[INFO]</span> Start detecting changes
    ```
    
    And even more text
    
    ```json
    {
        // This is a sample JSON code block
        "greeting": "Hello, world!" // Greeting
    }
    ```
    
    Диаграма Mermaid
    
    ```mermaid
    flowchart LR
        stone(philosophers-stone) -->|requires| harry-1[harry v1]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 883 bytes
    - Click Count (0)
Back to Top