Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 1,111 for main (0.02 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            List<Artifact> artifacts = List.of(
                    new DefaultArtifact("com.example", "test", "", "jar", "1.0.0"),
                    new DefaultArtifact("com.example", "test", "", "pom", "1.0.0"), // main POM
                    new DefaultArtifact("com.example", "test", "consumer", "pom", "1.0.0") // consumer POM
                    );
            request.setArtifacts(artifacts);
            return request;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. docs_src/settings/app02_an_py39/test_main.py

    from fastapi.testclient import TestClient
    
    from .config import Settings
    from .main import app, get_settings
    
    client = TestClient(app)
    
    
    def get_settings_override():
        return Settings(admin_email="******@****.***")
    
    
    app.dependency_overrides[get_settings] = get_settings_override
    
    
    def test_app():
        response = client.get("/info")
        data = response.json()
        assert data == {
            "app_name": "Awesome API",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 515 bytes
    - Click Count (0)
  3. docs/uk/docs/index.md

    ```
    
    </div>
    
    <details markdown="1">
    <summary>Про команди <code>uvicorn main:app --reload</code>...</summary>
    
    Команда `uvicorn main:app` посилається на:
    
    * `main`: файл `main.py` ("Модуль" Python).
    * `app`: об’єкт створений усередині `main.py` рядком `app = FastAPI()`.
    * `--reload`: перезапускає сервер після зміни коду. Використовуйте виключно для розробки.
    
    </details>
    
    ### Перевірте
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  4. src/cmd/asm/internal/asm/testdata/s390x.s

    	WFMINDB	$10, F7, F8, F9		// e79780a830ee
    
    	RET
    	RET	foo(SB)
    
    TEXT main·init(SB),DUPOK|NOSPLIT,$0 // TEXT main.init(SB), DUPOK|NOSPLIT, $0
    	RET
    
    TEXT main·main(SB),DUPOK|NOSPLIT,$0 // TEXT main.main(SB), DUPOK|NOSPLIT, $0
    	BL      main·foo(SB)    // CALL main.foo(SB)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Jul 30 19:29:15 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  5. docs/en/docs/js/custom.js

            })
            .catch(() => {
                // do nothing
            });
    }
    
    async function main() {
        setupTermynal();
        showRandomAnnouncement('announce-left', 5000)
        handleSponsorImages();
    }
    document$.subscribe(() => {
        main()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 22 15:11:52 GMT 2025
    - 6.3K bytes
    - Click Count (2)
  6. buildscripts/checkdeps.sh

    		exit 1
    	fi
    }
    
    main() {
    	## Check for supported arch
    	assert_is_supported_arch
    
    	## Check for supported os
    	assert_is_supported_os
    
    	## Check for Go environment
    	assert_check_golang_env
    
    	## Check for dependencies
    	assert_check_deps
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jun 08 16:12:05 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/index.md

    本教程同样可以作为将来的参考手册,所以您可以随时回到本教程并查阅您需要的内容。
    
    ## 运行代码
    
    所有代码片段都可以复制后直接使用(它们实际上是经过测试的 Python 文件)。
    
    要运行任何示例,请将代码复制到 `main.py` 文件中,然后使用以下命令启动 `fastapi dev`:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:solid">main.py</u>
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Mar 31 08:15:11 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. docs/es/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. Copia el archivo `main.py` directamente al directorio `/code` (sin ningún directorio `./app`).
    
    2. Usa `fastapi run` para servir tu aplicación en el archivo único `main.py`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 32K bytes
    - Click Count (0)
  9. api/maven-api-plugin/pom.xml

                <configuration>
                  <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
                  <version>2.0.0</version>
                  <models>
                    <model>src/main/mdo/plugin.mdo</model>
                  </models>
                  <templates>
                    <template>model.vm</template>
                  </templates>
                  <params>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild.test-fixtures.gradle.kts

     *
     * Configures the Project as a test fixtures producer if `src/testFixtures` is a directory:
     * - adds a new `testFixtures` source set which should contain utilities/fixtures to assist in unit testing
     *   classes from the main source set,
     * - the test fixtures are automatically made available to the test classpath.
     *
     * Configures the Project as a test fixtures consumer according to the `testFixtures` extension configuration.
     */
    plugins {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 24 14:00:52 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top