Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 967 for Optional (1.45 sec)

  1. tests/test_extra_routes.py

    from typing import Optional
    
    from fastapi import FastAPI
    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
    
    
    @app.api_route("/items/{item_id}", methods=["GET"])
    def get_items(item_id: str):
        return {"item_id": item_id}
    
    
    def get_not_decorated(item_id: str):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. docs/batch-jobs/README.md

    	# endpoint: ENDPOINT
    	# credentials:
    	#   accessKey: ACCESS-KEY
    	#   secretKey: SECRET-KEY
    	#   sessionToken: SESSION-TOKEN # Available when rotating credentials are used
    
      # optional flags based filtering criteria
      # for all source objects
      flags:
    	filter:
    	  newerThan: "7d" # match objects newer than this value (e.g. 7d10h31s)
    	  olderThan: "7d" # match objects older than this value (e.g. 7d10h31s)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Oct 06 06:00:43 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params-str-validations.md

    Having `str | None` will allow your editor to give you better support and detect errors.
    
    ///
    
    ## Additional validation { #additional-validation }
    
    We are going to enforce that even though `q` is optional, whenever it is provided, **its length doesn't exceed 50 characters**.
    
    ### Import `Query` and `Annotated` { #import-query-and-annotated }
    
    To achieve that, first import:
    
    * `Query` from `fastapi`
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

    import org.codelibs.fess.Constants;
    import org.codelibs.fess.dict.DictionaryException;
    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalEntity;
    
    /**
     * Manages a dictionary file for stemmer overrides.
     * This class handles reading, parsing, and updating files that contain
     * stemmer override rules, where each rule maps an input word to an
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/index.md

    And it can return anything you want.
    
    In this case, this dependency expects:
    
    * An optional query parameter `q` that is a `str`.
    * An optional query parameter `skip` that is an `int`, and by default is `0`.
    * An optional query parameter `limit` that is an `int`, and by default is `100`.
    
    And then it just returns a `dict` containing those values.
    
    /// info
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/20_contributor_feature_request.yml

          label: Expected Behavior
          description: Tell us how it should work
        validations:
          required: true
      - type: textarea
        id: current-behavior
        attributes:
          label: Current Behavior (optional)
          description: Is there a way to achieve the same or similar outcome today?
        validations:
          required: false
      - type: textarea
        id: context
        attributes:
          label: Context
          description: |
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Nov 27 15:48:22 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/40_contributor_documentation.yml

          description: |
            Please describe the problem as concisely as possible.
        validations:
          required: true
      - type: textarea
        id: context
        attributes:
          label: Context (optional)
          description: |
            How has this issue affected you? What are you trying to accomplish?
            Providing context helps us come up with a solution that is most useful in the real world
        validations:
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Jan 15 10:01:01 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/CredentialsInternalTest.java

        }
    
        @Test
        @DisplayName("createContext accepts null/empty optional parameters")
        void createContext_edge_parameters_ok() throws Exception {
            TestCredentials creds = new TestCredentials("D", false, false, new Subject(), false);
            // Intentionally pass null/empty values for optional parameters; expect no exception
            SSPContext ctx1 = creds.createContext(mockContext, null, "", null, false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

    import org.codelibs.fess.dict.stemmeroverride.StemmerOverrideItem;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.RenderDataUtil;
    import org.dbflute.optional.OptionalEntity;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.render.RenderData;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/first-steps.md

    Ebenfalls können Sie es verwenden, um automatisch Code für Clients zu generieren, die mit Ihrer API kommunizieren. Zum Beispiel für Frontend-, Mobile- oder IoT-Anwendungen.
    
    ### Ihre App deployen (optional) { #deploy-your-app-optional }
    
    Sie können optional Ihre FastAPI-App in der <a href="https://fastapicloud.com" class="external-link" target="_blank">FastAPI Cloud</a> deployen, treten Sie der Warteliste bei, falls Sie es noch nicht getan haben. 🚀
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top