Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,128 for makin (0.06 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                    package org.apache.maven.samples.sample;
    
                    public class App {
                        public static void main(String... args) {
                            System.out.println("Hello World!");
                        }
                    }
                    """;
            Path appJava = cwd.resolve("src/main/java/org/apache/maven/samples/sample/App.java");
            Files.createDirectories(appJava.getParent());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. docs/pt/docs/deployment/docker.md

    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. Copie o arquivo `main.py` para o diretรณrio `/code` diretamente (sem nenhum diretรณrio `./app`).
    
    2. Execute o Uvicorn e diga a ele para importar o objeto `app` de `main` (em vez de importar de `app.main`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_custom_response/test_tutorial005.py

        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/": {
                    "get": {
                        "summary": "Main",
                        "operationId": "main__get",
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 980 bytes
    - Viewed (0)
  4. docs_src/settings/app02/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",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 29 09:26:07 UTC 2021
    - 515 bytes
    - Viewed (0)
  5. tests/test_tutorial/test_testing/test_main.py

                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            }
                        },
                        "summary": "Read Main",
                        "operationId": "read_main__get",
                    }
                }
            },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 819 bytes
    - Viewed (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report.gradle.kts

        title = project.name
        versionFile = repoRoot().file("version.txt")
        releasedVersionsFile = releasedVersionsFile()
        sources.from(sourceSets.main.get().java.sourceDirectories)
        sources.from(sourceSets.main.get().groovy.sourceDirectories)
        htmlReportFile = file(layout.buildDirectory.file("reports/incubation/${project.name}.html"))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 12 13:19:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    /// note
    
    ๐Ÿ“‹ `uvicorn main:app` ๐Ÿ”—:
    
    * `main`: ๐Ÿ“ `main.py` (๐Ÿ "๐Ÿ•น").
    * `app`: ๐ŸŽš โœ ๐Ÿ”˜ `main.py` โฎ๏ธ โธ `app = FastAPI()`.
    * `--reload`: โš’ ๐Ÿ’ฝ โ โฎ๏ธ ๐Ÿ“Ÿ ๐Ÿ”€. ๐Ÿ•ด โš™๏ธ ๐Ÿ› ๏ธ.
    
    ///
    
    ๐Ÿ”ข, ๐Ÿ“ค โธ โฎ๏ธ ๐Ÿ•ณ ๐Ÿ’–:
    
    ```hl_lines="4"
    INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py

        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/app": {
                    "get": {
                        "summary": "Read Main",
                        "operationId": "read_main_app_get",
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/labeltype/CreateForm.java

    import jakarta.validation.constraints.Max;
    import jakarta.validation.constraints.Min;
    import jakarta.validation.constraints.Pattern;
    import jakarta.validation.constraints.Size;
    
    /**
     * @author codelibs
     * @author Shunji Makino
     * @author Keiichi Watanabe
     */
    public class CreateForm {
    
        @ValidateTypeFailure
        public Integer crudMode;
    
        @Required
        @Size(max = 100)
        public String name;
    
        @Required
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/index.jsp

    					</button>
    					<la:link href="/search/advance" styleClass="btn btn-info">
    						<em class="fa fa-cog">
    						<la:message key="labels.advance" />
    					</la:link>
    				</div>
    			</div>
    		</div>
    		<main class="container">
    			<div class="row">
    				<div class="col text-center searchFormBox">
    					<h1 class="mainLogo">
    						<img src="${fe:url('/images/logo.png')}"
    							alt="<la:message key="labels.index_title" />" />
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top