Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 703 for Document (0.06 seconds)

  1. fastapi/.agents/skills/fastapi/SKILL.md

    @app.post("/items/")
    async def create_item(item: Item, project_id: Annotated[int, Query(...)]): ...
    ```
    
    ## Return Type or Response Model
    
    When possible, include a return type. It will be used to validate, filter, document, and serialize the response.
    
    ```python
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

            private void testSetup(Snippet snippet) {
                if (lastDocsPath == snippet.path) {
                    throw new InvalidUserDataException("$snippet: wasn't first. TESTSETUP can only be used in the first snippet of a document.")
                }
                setupCurrent(snippet)
                current.println('---')
                current.println("setup:")
                if (snippet.setup != null) {
                    setup(snippet)
                }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  3. LICENSES/vendor/github.com/NYTimes/gziphandler/LICENSE

       TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
    
       1. Definitions.
    
          "License" shall mean the terms and conditions for use, reproduction,
          and distribution as defined by Sections 1 through 9 of this document.
    
          "Licensor" shall mean the copyright owner or entity authorized by
          the copyright owner that is granting the License.
    
          "Legal Entity" shall mean the union of the acting entity and all
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Feb 03 21:57:36 GMT 2021
    - 11.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    for (final Map<String, Object> document : documentItems) {
                        if (!first1) {
                            buf.append(',');
                        } else {
                            first1 = false;
                        }
                        buf.append('{');
                        boolean first2 = true;
                        for (final Map.Entry<String, Object> entry : document.entrySet()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
  5. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            docs.add(doc2);
    
            setupMockComponents(docs);
    
            final String result = indexExportJob.execute();
    
            assertEquals("Exported 2 documents.", result);
    
            // Verify first document
            final Path file1 = tempDir.resolve("example.com/page1.html");
            assertTrue(Files.exists(file1));
            final String html1 = Files.readString(file1, StandardCharsets.UTF_8);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

        }
    
        /**
         * Deletes documents from the specified index based on the given query.
         *
         * @param client the OpenSearch client to use for executing the query and delete operations
         * @param settings the settings for the suggest feature, including timeouts and scroll settings
         * @param index the name of the index from which documents should be deleted
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Nov 23 11:21:40 GMT 2025
    - 17.5K bytes
    - Click Count (1)
  7. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                }
            }
            return LaResponseUtil.getResponse().encodeURL(sb.toString());
        }
    
        /**
         * Encodes a string for similar document hash processing.
         *
         * @param input the string to encode
         * @return encoded string, or the original input if blank
         */
        public static String sdh(final String input) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  8. docs/en/docs/tutorial/sql-databases.md

    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Then go to the `/docs` UI, you will see that **FastAPI** is using these **models** to **document** the API, and it will use them to **serialize** and **validate** the data too.
    
    <div class="screenshot">
    <img src="/img/tutorial/sql-databases/image01.png">
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  9. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

    import org.apache.maven.api.annotations.ThreadSafe;
    
    /**
     * An immutable XML node representation that provides a clean API for working with XML data structures.
     * This interface represents a single node in an XML document tree, containing information about
     * the node's name, value, attributes, and child nodes.
     *
     * <p>Example usage:</p>
     * <pre>
     * XmlNode node = XmlNode.newBuilder()
     *     .name("configuration")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 17 15:20:44 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  10. internal/s3select/jstream/decoder.go

    type ValueType int
    
    // Different types of JSON value
    const (
    	Unknown ValueType = iota
    	Null
    	String
    	Number
    	Boolean
    	Array
    	Object
    )
    
    // MetaValue wraps a decoded interface value with the document
    // position and depth at which the value was parsed
    type MetaValue struct {
    	Offset    int
    	Length    int
    	Depth     int
    	Value     any
    	ValueType ValueType
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
Back to Top