Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 993 for Main (0.15 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/ProjectScope.java

     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    @SuppressWarnings("checkstyle:InterfaceIsType")
    public interface ProjectScope extends ExtensibleEnum {
    
        /**
         * Main scope.
         */
        ProjectScope MAIN = projectScope("main");
    
        /**
         * Test scope.
         */
        ProjectScope TEST = projectScope("test");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Feb 05 09:42:51 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. docs/recipes.md

     [AccessHeadersJava]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java
     [AccessHeadersKotlin]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt
     [PostStringJava]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/PostString.java
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  3. docs/de/docs/tutorial/testing.md

    ``` hl_lines="5"
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Da sich diese Datei im selben Package befindet, können Sie relative Importe verwenden, um das Objekt `app` aus dem `main`-Modul (`main.py`) zu importieren:
    
    ```Python hl_lines="3"
    {!../../../docs_src/app_testing/test_main.py!}
    ```
    
    ... und haben den Code für die Tests wie zuvor.
    
    ## Testen: erweitertes Beispiel
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:20:01 GMT 2024
    - 7K bytes
    - Viewed (0)
  4. fastapi/utils.py

    
    def deep_dict_update(main_dict: Dict[Any, Any], update_dict: Dict[Any, Any]) -> None:
        for key, value in update_dict.items():
            if (
                key in main_dict
                and isinstance(main_dict[key], dict)
                and isinstance(value, dict)
            ):
                deep_dict_update(main_dict[key], value)
            elif (
                key in main_dict
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/settings.md

        {!> ../../../docs_src/settings/app02_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="6  12-13"
        {!> ../../../docs_src/settings/app02_an/main.py!}
        ```
    
    === "Python 3.8+ 非注解版本"
    
        !!! tip
            如果可能,请尽量使用 `Annotated` 版本。
    
        ```Python hl_lines="5  11-12"
        {!> ../../../docs_src/settings/app02/main.py!}
        ```
    
    !!! tip
        我们稍后会讨论 `@lru_cache`。
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  6. maven-core/src/test/resources-project-builder/multiple-filters/pom.xml

      <groupId>a</groupId>
      <artifactId>b</artifactId>
      <version>1.0</version>
    
        <build>
            <filters>
                <filter>src/main/filters/a.properties</filter>
                <filter>src/main/filters/c.properties</filter>
                <filter>src/main/filters/b.properties</filter>
                <filter>src/main/filters/d.properties</filter>
            </filters>
        </build>
    
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Nov 09 12:45:14 GMT 2019
    - 631 bytes
    - Viewed (0)
  7. maven-core/src/test/resources-project-builder/merged-filter-order/sub/pom.xml

        Verify that filter definitions are properly merged.
      </description>
    
      <build>
        <filters>
          <filter>src/main/filters/child-a.properties</filter>
          <filter>src/main/filters/child-c.properties</filter>
          <filter>src/main/filters/child-b.properties</filter>
          <filter>src/main/filters/child-d.properties</filter>
        </filters>
      </build>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java

        @Nonnull
        Set<DependencyScope> dependencyScopes();
    
        PathScope MAIN_COMPILE = pathScope(
                "main-compile",
                ProjectScope.MAIN,
                DependencyScope.COMPILE_ONLY,
                DependencyScope.COMPILE,
                DependencyScope.PROVIDED);
    
        PathScope MAIN_RUNTIME =
                pathScope("main-runtime", ProjectScope.MAIN, DependencyScope.COMPILE, DependencyScope.RUNTIME);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/debugging.md

    ## `uvicorn` の実行
    
    FastAPIアプリケーション上で、`uvicorn` を直接インポートして実行します:
    
    ```Python hl_lines="1  15"
    {!../../../docs_src/debugging/tutorial001.py!}
    ```
    
    ### `__name__ == "__main__"` について
    
    `__name__ == "__main__"` の主な目的は、ファイルが次のコマンドで呼び出されたときに実行されるコードを用意することです:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    ただし、次のように、別のファイルからインポートされるときには呼び出されません:
    
    ```Python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Feb 07 17:25:31 GMT 2021
    - 3K bytes
    - Viewed (0)
  10. okcurl/src/main/kotlin/okhttp3/curl/MainCommandLine.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.curl
    
    import kotlin.system.exitProcess
    
    fun main(args: Array<String>) {
      Main().main(args)
      exitProcess(0)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 728 bytes
    - Viewed (0)
Back to top