Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 250 for SINGLE (0.08 seconds)

  1. docs/en/docs/deployment/docker.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ## Build a Docker Image with a Single-File FastAPI { #build-a-docker-image-with-a-single-file-fastapi }
    
    If your FastAPI is a single file, for example, `main.py` without an `./app` directory, your file structure could look like this:
    
    ```
    .
    ├── Dockerfile
    ├── main.py
    └── requirements.txt
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 28.3K bytes
    - Click Count (1)
  2. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            testUser.setRoleNames(new String[] {});
            assertFalse(fessUserBean.hasRole("admin"));
    
            // Test with single role - matching
            testUser.setRoleNames(new String[] { "admin" });
            assertTrue(fessUserBean.hasRole("admin"));
    
            // Test with single role - not matching
            assertFalse(fessUserBean.hasRole("user"));
    
            // Test with multiple roles
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/sql-databases.md

    <div class="termy">
    
    ```console
    $ pip install sqlmodel
    ---> 100%
    ```
    
    </div>
    
    ## Create the App with a Single Model { #create-the-app-with-a-single-model }
    
    We'll create the simplest first version of the app with a single **SQLModel** model first.
    
    Later we'll improve it increasing security and versatility with **multiple models** below. 🤓
    
    ### Create Models { #create-models }
    
    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)
  4. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

        public void test_insert_noChains() {
            User user = createTestUser("testuser");
            authenticationManager.insert(user);
            // Should not throw exception even with no chains
        }
    
        // Test insert with single chain
        @Test
        public void test_insert_singleChain() {
            User user = createTestUser("testuser");
            TestAuthenticationChain chain = new TestAuthenticationChain();
            authenticationManager.addChain(chain);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  5. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

      )
    }
    
    /**
     * If [mapping] qualifies to be encoded as [MappedRange.InlineDelta] return new instance, otherwise null.
     * An [MappedRange.InlineDelta] must be a mapping from a single code-point to a single code-point with a difference
     * that can be represented in 2^18-1.
     */
    internal fun inlineDeltaOrNull(mapping: Mapping): MappedRange.InlineDelta? {
      if (mapping.hasSingleSourceCodePoint) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/body-multiple-params.md

    
    /// info
    
    `Body` also has all the same extra validation and metadata parameters as `Query`, `Path` and others you will see later.
    
    ///
    
    ## Embed a single body parameter { #embed-a-single-body-parameter }
    
    Let's say you only have a single `item` body parameter from a Pydantic model `Item`.
    
    By default, **FastAPI** will then expect its body directly.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  7. fastapi/security/oauth2.py

            ],
            scope: Annotated[
                str,
                Form(),
                Doc(
                    """
                    A single string with actually several scopes separated by spaces. Each
                    scope is also a string.
    
                    For example, a single string with:
    
                    ```python
                    "items:read items:write users:read profile openid"
                    ````
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:32:10 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/crawler/transformer/FessTransformerTest.java

        @Test
        public void test_putResultDataBody_withObjectArray() {
            TestFessTransformer transformer = new TestFessTransformer();
            Map<String, Object> dataMap = new HashMap<>();
    
            // First add a single value
            transformer.putResultDataBody(dataMap, "key1", "value1");
            assertEquals("value1", dataMap.get("key1"));
    
            // Add an array - should merge with existing value
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            String value;
            String[] result;
    
            // Single unquoted value
            value = "single";
            result = KuromojiCSVUtil.parse(value);
            assertEquals(1, result.length);
            assertEquals("single", result[0]);
    
            // Single quoted value - quotes preserved
            value = "\"single quoted\"";
            result = KuromojiCSVUtil.parse(value);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  10. apache-maven/pom.xml

            <artifactId>maven-assembly-plugin</artifactId>
            <executions>
              <execution>
                <id>create-distro-packages</id>
                <goals>
                  <goal>single</goal>
                </goals>
                <phase>package</phase>
                <configuration>
                  <descriptors>
                    <descriptor>src/assembly/bin.xml</descriptor>
                  </descriptors>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 30 07:38:30 GMT 2026
    - 13K bytes
    - Click Count (0)
Back to Top