Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1231 - 1240 of 2,210 for myitem (0.03 sec)

  1. docs_src/path_params_numeric_validations/tutorial001_py310.py

    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: int = Path(title="The ID of the item to get"),
        q: str | None = Query(default=None, alias="item-query"),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 332 bytes
    - Viewed (0)
  2. fastapi/utils.py

        The first one to _not_ be a `DefaultPlaceholder` will be returned.
    
        Otherwise, the first item (a `DefaultPlaceholder`) will be returned.
        """
        items = (first_item,) + extra_items
        for item in items:
            if not isinstance(item, DefaultPlaceholder):
                return item
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exception/SsoProcessException.java

     *
     * This exception is used to indicate errors that occur during the execution
     * of SSO authentication and authorization processes. It extends FessSystemException
     * to provide consistent error handling within the Fess system for SSO-related
     * processing failures such as token validation errors, communication failures
     * with SSO providers, or configuration issues.
     */
    public class SsoProcessException extends FessSystemException {
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 08:04:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java

            byte[] dialects;
            try {
                dialects = DIALECTS.getBytes("ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
            System.arraycopy(dialects, 0, dst, dstIndex, dialects.length);
            return dialects.length;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

            .build();
    
        Request request = new Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          System.out.println(response.body().string());
        }
    
        server.shutdown();
        socketFile.delete();
      }
    
      public static void main(String... args) throws Exception {
        new ClientAndServer().run();
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  6. docs_src/response_model/tutorial004_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 627 bytes
    - Viewed (0)
  7. docs/en/docs/advanced/templates.md

    ///
    
    ## Writing templates { #writing-templates }
    
    Then you can write a template at `templates/item.html` with, for example:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Template Context Values { #template-context-values }
    
    In the HTML that contains:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. tests/test_openapi_examples.py

    from fastapi import Body, Cookie, FastAPI, Header, Path, Query
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        data: str
    
    
    @app.post("/examples/")
    def examples(
        item: Item = Body(
            examples=[
                {"data": "Data in Body examples, example1"},
            ],
            openapi_examples={
                "Example One": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. fess-crawler/src/test/resources/sitemaps/sitemap1.xml

       </url>
       <url>
          <loc>http://www.example.com/catalog?item=12&amp;desc=vacation_hawaii</loc>
          <changefreq>weekly</changefreq>
       </url>
       <url>
          <loc>http://www.example.com/catalog?item=73&amp;desc=vacation_new_zealand</loc>
          <lastmod>2004-12-23</lastmod>
          <changefreq>weekly</changefreq>
       </url>
       <url>
          <loc>http://www.example.com/catalog?item=74&amp;desc=vacation_newfoundland</loc>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 915 bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                if (child != null) {
                    children.add(child);
                }
            }
    
            if (children.isEmpty()) {
                return null;
            }
    
            String message = System.lineSeparator()
                    + "The project " + (result.getProjectId().isEmpty() ? "" : result.getProjectId() + " ")
                    + "(" + result.getPomFile() + ") has "
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top