Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,232 for main (0.13 sec)

  1. docs/ru/docs/tutorial/bigger-applications.md

    ///
    
    ## Модуль main в `FastAPI` { #the-main-fastapi }
    
    Теперь давайте посмотрим на модуль `app/main.py`.
    
    Именно сюда вы импортируете и именно здесь вы используете класс `FastAPI`.
    
    Это основной файл вашего приложения, который объединяет всё в одно целое.
    
    И теперь, когда большая часть логики приложения разделена на отдельные модули, основной файл `app/main.py` будет достаточно простым.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  2. docs/pt/docs/deployment/manually.md

    /// note | Nota
    
    O comando `uvicorn main:app` refere-se a:
    
    * `main`: o arquivo `main.py` (o "módulo" Python).
    * `app`: o objeto criado dentro de `main.py` com a linha `app = FastAPI()`.
    
    É equivalente a:
    
    ```Python
    from main import app
    ```
    
    ///
    
    Cada programa de servidor ASGI alternativo teria um comando semelhante, você pode ler mais na documentação respectiva.
    
    /// warning | Atenção
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. buildscripts/upgrade-tests/nginx.conf

        include       /etc/nginx/mime.types;
        default_type  application/octet-stream;
    
        log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                          '$status $body_bytes_sent "$http_referer" '
                          '"$http_user_agent" "$http_x_forwarded_for"';
    
        access_log  /var/log/nginx/access.log  main;
    
        sendfile        on;
        #tcp_nopush     on;
    
        keepalive_timeout  65;
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Nov 21 18:41:30 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java

         * circumstances.
         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenEncCling().run(args, null, null, null, false);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenShellCling.java

         * circumstances.
         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenShellCling().run(args, null, null, null, false);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            project.addSourceRoot(new DefaultSourceRoot(
                    ProjectScope.MAIN, Language.JAVA_FAMILY, Path.of(basedir.getAbsolutePath(), "src/main/java")));
    
            assertEquals(1, project.getSourceRoots().size());
    
            // Try to remove a different directory
            project.removeSourceRoot(ProjectScope.MAIN, Language.JAVA_FAMILY, "src/test/java");
    
            assertEquals(1, project.getSourceRoots().size());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 28 09:44:37 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/bigger-applications.md

    {* ../../docs_src/bigger_applications/app_an_py39/main.py hl[1,3,7] title["app/main.py"] *}
    
    ### Den `APIRouter` importieren { #import-the-apirouter }
    
    Jetzt importieren wir die anderen Submodule, die `APIRouter` haben:
    
    {* ../../docs_src/bigger_applications/app_an_py39/main.py hl[4:5] title["app/main.py"] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 13:54:34 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  8. docs/en/docs/environment-variables.md

    <div class="termy">
    
    ```console
    // Here we don't set the env var yet
    $ python main.py
    
    // As we didn't set the env var, we get the default value
    
    Hello World from Python
    
    // But if we create an environment variable first
    $ export MY_NAME="Wade Wilson"
    
    // And then call the program again
    $ python main.py
    
    // Now it can read the environment variable
    
    Hello Wade Wilson from Python
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/settings.md

    Sie könnten beispielsweise eine Datei `config.py` haben mit:
    
    {* ../../docs_src/settings/app01_py39/config.py *}
    
    Und dann verwenden Sie diese in einer Datei `main.py`:
    
    {* ../../docs_src/settings/app01_py39/main.py hl[3,11:13] *}
    
    /// tip | Tipp
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. deps.xml

    	<property name="webinf.dir" value="${basedir}/src/main/webapp/WEB-INF" />
    	<property name="crawler.dir" value="${basedir}/src/main/webapp/WEB-INF/env/crawler" />
    	<property name="suggest.dir" value="${basedir}/src/main/webapp/WEB-INF/env/suggest" />
    	<property name="thumbnail.dir" value="${basedir}/src/main/webapp/WEB-INF/env/thumbnail" />
    	<property name="site.dir" value="${basedir}/src/main/webapp/WEB-INF/site" />
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 08:57:53 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top