Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 4,225 for None (0.03 sec)

  1. docs_src/body_nested_models/tutorial004_py39.py

    app = FastAPI()
    
    
    class Image(BaseModel):
        url: str
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
        image: Union[Image, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 499 bytes
    - Viewed (0)
  2. test-site/public/javascripts/suggestor.js

                            $boxElement.css("display","block");
                        } else {
                            $boxElement.css("display","none");
                        }
                    } else {
                        $boxElement.css("display","none");
                    }
                    //ポジション設定
                    this.resize();
    
                    suggestingSts = false;
                },
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 14.6K bytes
    - Viewed (0)
  3. docs_src/security/tutorial002_an_py39.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    class User(BaseModel):
        username: str
        email: Union[str, None] = None
        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    def fake_decode_token(token):
        return User(
            username=token + "fakedecoded", email="******@****.***", full_name="John Doe"
        )
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 786 bytes
    - Viewed (0)
  4. tests/test_validate_response.py

        name: str
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
        return {"name": "invalid", "price": "foo"}
    
    
    @app.get("/items/invalidnone", response_model=Item)
    def get_invalid_none():
        return None
    
    
    @app.get("/items/validnone", response_model=Union[Item, None])
    def get_valid_none(send_none: bool = False):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. docs/en/docs/img/deployment/https/https06.drawio

                    </mxCell>
                    <mxCell id="3" value="&lt;font face=&quot;Roboto&quot;&gt;&lt;span style=&quot;font-size: 24px&quot;&gt;Server(s)&lt;/span&gt;&lt;/font&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=3;fontFamily=Roboto Mono, mono;FType=g;" parent="1" vertex="1">
                        <mxGeometry x="710" y="-50" width="300" height="80" as="geometry"/>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/searchResults.jsp

    						<div class="d-sm-none"></div>
    						<span class="d-none d-sm-inline">&nbsp;</span>
    						<la:message key="labels.search_result_size"
    							arg0="${fe:formatFileSize(doc.content_length)}" />
    					</c:if>
    					<c:if test="${searchLogSupport && doc.click_count!=null && doc.click_count>0}">
    						<div class="d-sm-none"></div>
    						<span class="d-none d-sm-inline">&nbsp;</span>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 09 04:29:42 UTC 2022
    - 9K bytes
    - Viewed (0)
  7. docs/en/docs/img/deployment/https/https02.drawio

                    </mxCell>
                    <mxCell id="3" value="&lt;font face=&quot;Roboto&quot;&gt;&lt;span style=&quot;font-size: 24px&quot;&gt;Server(s)&lt;/span&gt;&lt;/font&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=3;fontFamily=Roboto Mono, mono;FType=g;" parent="1" vertex="1">
                        <mxGeometry x="710" y="-50" width="300" height="80" as="geometry"/>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/testdata/workloadsummary.txt

    default            sleep-7656cf8794-lxcmx                               10.244.2.58 ambient-worker2       None                                HBONE
    gateway-system     gateway-api-admission-server-85985d48ff-5jcvd        10.244.2.8  ambient-worker2       None                                TCP
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 24 09:07:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. docs_src/security/tutorial003_py310.py

        return "fakehashed" + password
    
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  10. docs_src/security/tutorial003.py

        return "fakehashed" + password
    
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    class User(BaseModel):
        username: str
        email: Union[str, None] = None
        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 2.4K bytes
    - Viewed (0)
Back to top