Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 761 - 770 of 2,434 for nope (0.02 seconds)

  1. tests/test_infer_param_optionality.py

    
    @item_router.get("/")
    def get_items(user_id: Optional[str] = None):
        if user_id is None:
            return [{"item_id": "i1", "user_id": "u1"}, {"item_id": "i2", "user_id": "u2"}]
        else:
            return [{"item_id": "i2", "user_id": user_id}]
    
    
    @item_router.get("/{item_id}")
    def get_item(item_id: str, user_id: Optional[str] = None):
        if user_id is None:
            return {"item_id": item_id}
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  2. docs/batch-jobs/README.md

    	  createdAfter: "date" # match objects created after "date"
    	  createdBefore: "date" # match objects created before "date"
    
    	  ## NOTE: tags are not supported when "source" is remote.
    	  # tags:
    	  #   - key: "name"
    	  #     value: "pick*" # match objects with tag 'name', with all values starting with 'pick'
    
    	  ## NOTE: metadata filter not supported when "source" is non MinIO.
    	  # metadata:
    	  #   - key: "content-type"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 06 06:00:43 GMT 2022
    - 4.8K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_additional_status_codes/test_tutorial001.py

        assert response.status_code == 200, response.text
        assert response.json() == {"name": "Wrestlers", "size": None}
    
    
    def test_create(client: TestClient):
        response = client.put("/items/red", json={"name": "Chillies"})
        assert response.status_code == 201, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 993 bytes
    - Click Count (0)
  4. docs/ja/llm-prompt.md

    - path operation: パスオペレーション
    - path operation function: パスオペレーション関数
    
    ### `///` admonitions
    
    1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.).
    2) If a title is present, prefer these canonical titles:
    
    - `/// note | 備考`
    - `/// note | 技術詳細`
    - `/// tip | 豆知識`
    - `/// warning | 注意`
    - `/// info | 情報`
    - `/// check | 確認`
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 17:30:52 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  5. docs/ko/llm-prompt.md

    - path operation function: 경로 처리 함수
    
    ### `///` admonitions
    
    1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.).
    2) If a title is present, prefer these canonical titles:
    
    - `/// note | 참고`
    - `/// tip | 팁`
    - `/// warning | 경고`
    - `/// info | 정보`
    - `/// danger | 위험`
    - `/// note Technical Details | 기술 세부사항`
    - `/// check | 확인`
    Notes:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 17:32:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  6. tests/test_security_openid_connect_optional.py

        username: str
    
    
    def get_current_user(oauth_header: Optional[str] = Security(oid)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: Optional[User] = Depends(get_current_user)):
        if current_user is None:
            return {"msg": "Create an account first"}
        return current_user
    
    
    client = TestClient(app)
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.4K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/resources/META-INF/maven/plugin-expressions/project.paramdoc.xml

    <dependencies>
      ...
    </dependencies>
        ]]></configuration>
        <description>
          <![CDATA[
          This is a set of Artifact instances resolved from the set of dependencies for
          the current project.
    
          NOTE: This will likely contain much more than the direct dependencies of the
          current POM, since Maven uses transitive, or chained, dependency resolution.
        ]]></description>
      </expression>
      <expression>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.6K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/response-status-code.md

    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note
    
    Some response codes (see the next section) indicate that the response does not have a body.
    
    FastAPI knows this, and will produce OpenAPI docs that state there is no response body.
    
    ///
    
    ## About HTTP status codes { #about-http-status-codes }
    
    /// note
    
    If you already know what HTTP status codes are, skip to the next section.
    
    ///
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

        client ->> dep_req: Iniciar requisição
        Note over dep_req: Executar código até o yield
        dep_req ->> dep_func: Passar dependência
        Note over dep_func: Executar código até o yield
        dep_func ->> operation: Executar operação de rota com dependência
        operation ->> dep_func: Retornar da operação de rota
        Note over dep_func: Executar código após o yield
        Note over dep_func: ✅ Dependência fechada
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

        client ->> dep_req: Start request
        Note over dep_req: Run code up to yield
        dep_req ->> dep_func: Pass dependency
        Note over dep_func: Run code up to yield
        dep_func ->> operation: Run path operation with dependency
        operation ->> dep_func: Return from path operation
        Note over dep_func: Run code after yield
        Note over dep_func: ✅ Dependency closed
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.9K bytes
    - Click Count (0)
Back to Top