Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 562 for main (0.14 sec)

  1. maven-api-impl/src/test/remote-repo/org/apache/maven/plugins/maven-compiler-plugin/0.1/maven-compiler-plugin-0.1.jar

    maven-compiler-plugin 0.1 maven-plugin Maven Integration Test Plugin A test plugin to assist testing of Maven core. 2009 maven-core-it file:///${basedir}/repo true true org.apache.maven maven-plugin-api 2.0 . pom.xml src/** src/main/resources src/main/java/org/apache/maven/plugins/coreit/ItMojo.java src/main/java/org/apache/maven/plugins/coreit/ItMojo.java package org.apache.maven.plugin.coreit; /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  2. .github/workflows/latest-changes.yml

            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
            with:
              # To allow latest-changes to commit to the main branch
              token: ${{ secrets.FASTAPI_LATEST_CHANGES }}
          # Allow debugging with tmate
          - name: Setup tmate session
            uses: mxschmitt/action-tmate@v3
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 14:57:33 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  3. buildscripts/cross-compile.sh

    	export GOOS=$os
    	export GOARCH=$arch
    	export GO111MODULE=on
    	go build -trimpath -tags kqueue -o /dev/null
    }
    
    function main() {
    	echo "Testing builds for OS/Arch: ${SUPPORTED_OSARCH}"
    	for each_osarch in ${SUPPORTED_OSARCH}; do
    		_build "${each_osarch}"
    	done
    }
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 19 01:08:22 GMT 2023
    - 958 bytes
    - Viewed (0)
  4. docs/en/docs/deployment/docker.md

    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["fastapi", "run", "main.py", "--port", "80"]
    ```
    
    1. Copy the `main.py` file to the `/code` directory directly (without any `./app` directory).
    
    2. Use `fastapi run` to serve your application in the single file `main.py`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
  5. docs/de/docs/deployment/server-workers.md

    * `main:app`: Das ist die gleiche Syntax, die auch von Uvicorn verwendet wird. `main` bedeutet das Python-Modul mit dem Namen `main`, also eine Datei `main.py`. Und `app` ist der Name der Variable, welche die **FastAPI**-Anwendung ist.
        * Stellen Sie sich einfach vor, dass `main:app` einer Python-`import`-Anweisung wie der folgenden entspricht:
    
            ```Python
            from main import app
            ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:19:25 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  6. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

                attribute(DocsType.DOCS_TYPE_ATTRIBUTE, objects.named("gradle-source-folders"))
            }
            val main = sourceSets.main.get()
            main.java.srcDirs.forEach {
                outgoing.artifact(it)
            }
            main.groovy.srcDirs.forEach {
                outgoing.artifact(it)
            }
            main.resources.srcDirs.forEach {
                outgoing.artifact(it)
            }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jan 17 13:36:27 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/index.md

    # Advanced User Guide
    
    ## Additional Features
    
    The main [Tutorial - User Guide](../tutorial/index.md){.internal-link target=_blank} should be enough to give you a tour through all the main features of **FastAPI**.
    
    In the next sections you will see other options, configurations, and additional features.
    
    !!! tip
        The next sections are **not necessarily "advanced"**.
    
        And it's possible that for your use case, the solution is in one of them.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. okcurl/build.gradle.kts

    }
    
    val copyResourcesTemplates = tasks.register<Copy>("copyResourcesTemplates") {
      from("src/main/resources-templates")
      into("$buildDir/generated/resources-templates")
      expand("projectVersion" to "${project.version}")
      filteringCharset = Charsets.UTF_8.toString()
    }
    
    kotlin {
      sourceSets {
        val main by getting {
          resources.srcDir(copyResourcesTemplates.get().outputs)
        }
      }
    }
    
    dependencies {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.8K bytes
    - Viewed (1)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * @param scope the scope, i.e. usually main or test
         * @param sourceRoot the new source root
         */
        void addCompileSourceRoot(@Nonnull Project project, @Nonnull ProjectScope scope, @Nonnull Path sourceRoot);
    
        /**
         * Get the list of resources for the given project and scope
         *
         * @param project the project
         * @param scope the scope, i.e. usually main or test
         * @return the list of resources
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Feb 09 17:13:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/sub-applications.md

    ```Python hl_lines="11  19"
    {!../../../docs_src/sub_applications/tutorial001.py!}
    ```
    
    ### Check the automatic API docs
    
    Now, run `uvicorn` with the main app, if your file is `main.py`, it would be:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.9K bytes
    - Viewed (0)
Back to top