Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 483 for 50 (0.01 sec)

  1. src/archive/tar/strconv_test.go

    		{"6 k=1 ", "6 k=1 ", "", "", false},
    		{"632 k=1\n", "632 k=1\n", "", "", false},
    		{"16 longkeyname=hahaha\n", "16 longkeyname=hahaha\n", "", "", false},
    		{"3 somelongkey=\n", "3 somelongkey=\n", "", "", false},
    		{"50 tooshort=\n", "50 tooshort=\n", "", "", false},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  2. docs_src/settings/app03_an/config.py

    from pydantic_settings import BaseSettings, SettingsConfigDict
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 235 bytes
    - Viewed (0)
  3. docs_src/query_params_str_validations/tutorial002_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[str | None, Query(max_length=50)] = None):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 309 bytes
    - Viewed (0)
  4. docs_src/settings/tutorial001_pv1.py

    from fastapi import FastAPI
    from pydantic import BaseSettings
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
    
    settings = Settings()
    app = FastAPI()
    
    
    @app.get("/info")
    async def info():
        return {
            "app_name": settings.app_name,
            "admin_email": settings.admin_email,
            "items_per_user": settings.items_per_user,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 410 bytes
    - Viewed (0)
  5. docs_src/query_params_str_validations/tutorial003_an.py

    from fastapi import FastAPI, Query
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[Union[str, None], Query(min_length=3, max_length=50)] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 372 bytes
    - Viewed (0)
  6. go.mod

    	github.com/mitchellh/go-homedir v1.1.0 // indirect
    	github.com/mitchellh/go-wordwrap v1.0.1 // indirect
    	github.com/mitchellh/mapstructure v1.5.0 // indirect
    	github.com/mitchellh/reflectwalk v1.0.2 // indirect
    	github.com/moby/spdystream v0.4.0 // indirect
    	github.com/moby/term v0.5.0 // indirect
    	github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
    	github.com/modern-go/reflect2 v1.0.2 // indirect
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 06:23:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. docs_src/settings/app01/config.py

    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 183 bytes
    - Viewed (0)
  8. docs_src/settings/app02_an/test_main.py

    
    def test_app():
        response = client.get("/info")
        data = response.json()
        assert data == {
            "app_name": "Awesome API",
            "admin_email": "******@****.***",
            "items_per_user": 50,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 515 bytes
    - Viewed (0)
  9. docs_src/settings/app02_an_py39/test_main.py

    
    def test_app():
        response = client.get("/info")
        data = response.json()
        assert data == {
            "app_name": "Awesome API",
            "admin_email": "******@****.***",
            "items_per_user": 50,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 515 bytes
    - Viewed (0)
  10. docs/debugging/s3-verify/go.mod

    	github.com/google/uuid v1.6.0 // indirect
    	github.com/klauspost/compress v1.17.8 // indirect
    	github.com/klauspost/cpuid/v2 v2.2.7 // indirect
    	github.com/minio/md5-simd v1.1.2 // indirect
    	github.com/rs/xid v1.5.0 // indirect
    	github.com/stretchr/testify v1.7.0 // indirect
    	golang.org/x/crypto v0.23.0 // indirect
    	golang.org/x/net v0.25.0 // indirect
    	golang.org/x/sys v0.20.0 // indirect
    	golang.org/x/text v0.15.0 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 13 17:59:52 UTC 2024
    - 688 bytes
    - Viewed (0)
Back to top