Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 589 for v2 (4.55 sec)

  1. docs/en/docs/how-to/async-sql-encode-databases.md

    !!! info
        These docs are about to be updated. 🎉
    
        The current version assumes Pydantic v1.
    
        The new docs will include Pydantic v2 and will use <a href="https://sqlmodel.tiangolo.com/" class="external-link" target="_blank">SQLModel</a> once it is updated to use Pydantic v2 as well.
    
    !!! warning "Deprecated"
        This tutorial is deprecated and will be removed in a future version.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  2. tests/test_jsonable_encoder.py

    from datetime import datetime, timezone
    from decimal import Decimal
    from enum import Enum
    from pathlib import PurePath, PurePosixPath, PureWindowsPath
    from typing import Optional
    
    import pytest
    from fastapi._compat import PYDANTIC_V2, Undefined
    from fastapi.encoders import jsonable_encoder
    from pydantic import BaseModel, Field, ValidationError
    
    from .utils import needs_pydanticv1, needs_pydanticv2
    
    
    class Person:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/wsgi.md

    ```txt
    Hello, World from Flask!
    ```
    
    And if you go to <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a> you will see the response from FastAPI:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  4. cmd/auth-handler_test.go

    		{
    			authT: authTypeStreamingSigned,
    			pass:  true,
    		},
    		// Test 6 - supported s3 type with signature v2.
    		{
    			authT: authTypeSignedV2,
    			pass:  true,
    		},
    		// Test 7 - supported s3 type with presign v2.
    		{
    			authT: authTypePresignedV2,
    			pass:  true,
    		},
    		// Test 8 - JWT is not supported s3 type.
    		{
    			authT: authTypeJWT,
    			pass:  false,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  5. .github/workflows/scorecards-analysis.yml

            with:
              persist-credentials: false
    
          - name: "Run analysis"
            uses: ossf/scorecard-action@15c10fcf1cf912bd22260bfec67569a359ab87da # v2.1.1
            with:
              results_file: results.sarif
              results_format: sarif
              # Publish the results to enable scorecard badges. For more details, see
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Dec 21 23:56:23 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  6. docs/assets/css/app.css

    @font-face {
        font-family: cash-market;
        src: url("https://cash-f.squarecdn.com/static/fonts/cash-market/v2/CashMarket-Regular.woff2") format("woff2");
        font-weight: 400;
        font-style: normal
    }
    
    @font-face {
        font-family: cash-market;
        src: url("https://cash-f.squarecdn.com/static/fonts/cash-market/v2/CashMarket-Medium.woff2") format("woff2");
        font-weight: 500;
        font-style: normal
    }
    
    @font-face {
    CSS
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 08 07:57:03 GMT 2022
    - 1.1K bytes
    - Viewed (4)
  7. maven-core/src/test/java/org/apache/maven/project/GraphTest.java

        }
    
        static void addEdge(Graph graph, String v1, String v2) throws CycleDetectedException {
            Vertex vx1 = graph.addVertex(v1);
            Vertex vx2 = graph.addVertex(v2);
            graph.addEdge(vx1, vx2);
        }
    
        static boolean hasEdge(Graph graph, String v1, String v2) {
            Vertex vx1 = graph.getVertex(v1);
            Vertex vx2 = graph.getVertex(v2);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicy.java

                ArtifactVersion v1 = new DefaultArtifactVersion(e1.getVersion());
                ArtifactVersion v2 = new DefaultArtifactVersion(e2.getVersion());
    
                if (newerFirst) {
                    return v1.compareTo(v2) > 0 ? e1 : e2;
                }
    
                return v1.compareTo(v2) > 0 ? e2 : e1;
            }
    
            if (closerFirst) {
                return depth1 < depth2 ? e1 : e2;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.28.md

    ## Dependencies
    
    ### Added
    - github.com/xhit/go-str2duration/v2: [v2.1.0](https://github.com/xhit/go-str2duration/v2/tree/v2.1.0)
    
    ### Changed
    - github.com/alecthomas/kingpin/v2: [v2.3.1 → v2.3.2](https://github.com/alecthomas/kingpin/v2/compare/v2.3.1...v2.3.2)
    - github.com/google/cadvisor: [v0.47.2 → v0.47.3](https://github.com/google/cadvisor/compare/v0.47.2...v0.47.3)
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Tue Apr 16 20:44:48 GMT 2024
    - 385.1K bytes
    - Viewed (0)
  10. tests/test_ambiguous_params.py

    import pytest
    from fastapi import Depends, FastAPI, Path
    from fastapi.param_functions import Query
    from fastapi.testclient import TestClient
    from fastapi.utils import PYDANTIC_V2
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    def test_no_annotated_defaults():
        with pytest.raises(
            AssertionError, match="Path parameters cannot have a default value"
        ):
    
            @app.get("/items/{item_id}/")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Dec 12 00:22:47 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top