Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 862 for Lain (0.06 sec)

  1. 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>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Oct 19 18:11:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_settings/test_app02.py

    from pytest import MonkeyPatch
    
    from ...utils import needs_pydanticv2
    
    
    @needs_pydanticv2
    def test_settings(monkeypatch: MonkeyPatch):
        from docs_src.settings.app02 import main
    
        monkeypatch.setenv("ADMIN_EMAIL", "******@****.***")
        settings = main.get_settings()
        assert settings.app_name == "Awesome API"
        assert settings.items_per_user == 50
    
    
    @needs_pydanticv2
    def test_override_settings():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 488 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top