Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,128 for makin (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. docs/pt/docs/environment-variables.md

    <div class="termy">
    
    ```console
    // Aqui ainda não definimos a variável de ambiente
    $ python main.py
    
    // Como não definimos a variável de ambiente, obtemos o valor padrão
    
    Hello World from Python
    
    // Mas se criarmos uma variável de ambiente primeiro
    $ export MY_NAME="Wade Wilson"
    
    // E então chamar o programa novamente
    $ python main.py
    
    // Agora ele pode ler a variável de ambiente
    
    Hello Wade Wilson from Python
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 10 10:36:42 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. 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)
  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/pt/docs/advanced/websockets.md

    {*../../docs_src/websockets/tutorial001.py hl[48:52]*}
    
    Você pode receber e enviar dados binários, de texto e JSON.
    
    ## Tente você mesmo
    
    Se seu arquivo for nomeado `main.py`, execute sua aplicação com:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:20:59 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. 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)
  10. docs/en/docs/advanced/openapi-callbacks.md

    ```Python
    callback_url = "https://example.com/api/v1/invoices/events/"
    httpx.post(callback_url, json={"description": "Invoice paid", "paid": True})
    ```
    
    But possibly the most important part of the callback is making sure that your API user (the external developer) implements the *external API* correctly, according to the data that *your API* is going to send in the request body of the callback, etc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top