Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4821 - 4830 of 7,014 for _return (0.07 sec)

  1. tests/test_tuples.py

        y: float
    
    
    @app.post("/model-with-tuple/")
    def post_model_with_tuple(item_group: ItemGroup):
        return item_group
    
    
    @app.post("/tuple-of-models/")
    def post_tuple_of_models(square: Tuple[Coordinate, Coordinate]):
        return square
    
    
    @app.post("/tuple-form/")
    def hello(values: Tuple[int, int] = Form()):
        return values
    
    
    client = TestClient(app)
    
    
    def test_model_with_tuple_valid():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. docs_src/background_tasks/tutorial001.py

    
    @app.post("/send-notification/{email}")
    async def send_notification(email: str, background_tasks: BackgroundTasks):
        background_tasks.add_task(write_notification, email, message="some notification")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 519 bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

                } else {
                    pipeIn = new SmbFileInputStream(this,
                                (pipeType & 0xFFFF00FF) | SmbFile.O_EXCL);
                }
            }
            return pipeIn;
        }
    
        /**
         * Return the <code>OutputStream</code> used to write
         * information to this pipe instance. The act of writing data
         * to this stream will result in response data recieved in the
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java

         * @return The profiles that have been activated, never {@code null}.
         */
        default List<org.apache.maven.api.model.Profile> getActiveProfilesV4(
                Collection<org.apache.maven.api.model.Profile> profiles,
                ProfileActivationContext context,
                ModelProblemCollector problems) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. docs_src/path_operation_advanced_configuration/tutorial003.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/", include_in_schema=False)
    async def read_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 148 bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java

    public class StandardMutableUndirectedGraphTest extends AbstractStandardUndirectedGraphTest {
    
      @Parameters(name = "allowsSelfLoops={0}, incidentEdgeOrder={1}")
      public static Collection<Object[]> parameters() {
        return Arrays.asList(
            new Object[][] {
              {false, ElementOrder.unordered()},
              {true, ElementOrder.unordered()},
              {false, ElementOrder.stable()},
              {true, ElementOrder.stable()},
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 2K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

        for (int i = 0; i < reps; i++) {
          total += Iterables.size(CHAR_SPLITTER.split(input));
        }
    
        return total;
      }
    
      @Benchmark
      int stringSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
          total += Iterables.size(STRING_SPLITTER.split(input));
        }
    
        return total;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/TestUtil.java

         * のインスタンスかを検証されてしまうのでこれが必要。
         *
         * @param clazz
         *            期待するクラス
         * @return クラスをチェックする{@link Matcher}
         */
        public static Matcher<Object> sameClass(final Class<?> clazz) {
            return is((Object) clazz);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderResult.java

    import org.apache.maven.api.settings.Settings;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface SettingsBuilderResult {
    
        /**
         * Gets the assembled settings.
         *
         * @return the assembled settings, never {@code null}
         */
        @Nonnull
        Settings getEffectiveSettings();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderResult.java

    import org.apache.maven.api.toolchain.PersistedToolchains;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ToolchainsBuilderResult {
        /**
         * Gets the assembled toolchains.
         *
         * @return the assembled toolchains, never {@code null}
         */
        @Nonnull
        PersistedToolchains getEffectiveToolchains();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top