Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 994 for main (0.02 sec)

  1. docs/em/docs/deployment/server-workers.md

    ```
    
    </div>
    
    ➑️ πŸ‘€ βš«οΈβ” πŸ”  πŸ‘ˆ πŸŽ› β›“:
    
    * `main:app`: πŸ‘‰ 🎏 ❕ βš™οΈ Uvicorn, `main` β›“ 🐍 πŸ•Ή πŸ“› "`main`",, πŸ“ `main.py`. &amp; `app` πŸ“› πŸ”’ πŸ‘ˆ **FastAPI** 🈸.
        * πŸ‘† πŸ’ͺ 🌈 πŸ‘ˆ `main:app` πŸŒ“ 🐍 `import` πŸ“„ πŸ’–:
    
            ```Python
            from main import app
            ```
    
        * , ❀ `main:app` πŸ”œ πŸŒ“ 🐍 `import` πŸ• `from main import app`.
    * `--workers`: πŸ”’ πŸ‘¨β€πŸ­ πŸ› οΈ βš™οΈ, πŸ”  πŸ”œ πŸƒ Uvicorn πŸ‘¨β€πŸ­, πŸ‘‰ πŸ’Ό, 4️⃣ πŸ‘¨β€πŸ­.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. docs/pt/docs/fastapi-cli.md

    <font color="#3465A4">INFO    </font> Using path <font color="#3465A4">main.py</font>
    <font color="#3465A4">INFO    </font> Resolved absolute path <font color="#75507B">/home/user/code/awesomeapp/</font><font color="#AD7FA8">main.py</font>
    <font color="#3465A4">INFO    </font> Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/async-tests.md

    ```
    .
    β”œβ”€β”€ app
    β”‚Β Β  β”œβ”€β”€ __init__.py
    β”‚Β Β  β”œβ”€β”€ main.py
    β”‚Β Β  └── test_main.py
    ```
    
    Die Datei `main.py` hΓ€tte als Inhalt:
    
    ```Python
    {!../../docs_src/async_tests/main.py!}
    ```
    
    Die Datei `test_main.py` hΓ€tte die Tests fΓΌr `main.py`, das kΓΆnnte jetzt so aussehen:
    
    ```Python
    {!../../docs_src/async_tests/test_main.py!}
    ```
    
    ## Es ausfΓΌhren
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:34:47 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/async-tests.md

    ```
    .
    β”œβ”€β”€ app
    β”‚Β Β  β”œβ”€β”€ __init__.py
    β”‚Β Β  β”œβ”€β”€ main.py
    β”‚Β Β  └── test_main.py
    ```
    
    The file `main.py` would have:
    
    {* ../../docs_src/async_tests/main.py *}
    
    The file `test_main.py` would have the tests for `main.py`, it could look like this now:
    
    {* ../../docs_src/async_tests/test_main.py *}
    
    ## Run it
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:43:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. istioctl/cmd/istioctl/istioctl_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package main
    
    import (
    	"os"
    	"testing"
    )
    
    func TestIstioctlMain(_ *testing.T) {
    	os.Args = []string{"istioctl", "version", "--remote=false"}
    	main()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 738 bytes
    - Viewed (0)
  6. okcurl/src/test/kotlin/okhttp3/curl/OkcurlTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.curl
    
    import kotlin.test.Test
    
    class OkcurlTest {
      @Test
      fun simple() {
        Main().main(listOf("--help"))
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 732 bytes
    - Viewed (0)
  7. docs/en/docs/deployment/manually.md

    ```
    
    </div>
    
    /// note
    
    The command `uvicorn main:app` refers to:
    
    * `main`: the file `main.py` (the Python "module").
    * `app`: the object created inside of `main.py` with the line `app = FastAPI()`.
    
    It is equivalent to:
    
    ```Python
    from main import app
    ```
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 25 02:44:06 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/testing.md

    ```
    .
    β”œβ”€β”€ app
    β”‚Β Β  β”œβ”€β”€ __init__.py
    β”‚Β Β  └── main.py
    ```
    
    In the file `main.py` you have your **FastAPI** app:
    
    
    ```Python
    {!../../docs_src/app_testing/main.py!}
    ```
    
    ### Testing file
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/websockets.md

    Se vocΓͺ precisa de algo fΓ‘cil de integrar com o FastAPI, mas que seja mais robusto, suportado por Redis, PostgreSQL ou outros, verifique o <a href="https://github.com/encode/broadcaster" class="external-link" target="_blank">encode/broadcaster</a>.
    
    ///
    
    ## Mais informaçáes
    
    Para aprender mais sobre as opçáes, verifique a documentação do Starlette para:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:20:59 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/bigger-applications.md

    ```Python hl_lines="1  3  7" title="app/main.py"
    {!../../docs_src/bigger_applications/app/main.py!}
    ```
    
    ### Den `APIRouter` importieren
    
    Jetzt importieren wir die anderen Submodule, die `APIRouter` haben:
    
    ```Python hl_lines="4-5" title="app/main.py"
    {!../../docs_src/bigger_applications/app/main.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top