Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,341 for mein (0.03 sec)

  1. android/guava/src/com/google/common/math/PairedStats.java

            return LinearTransformation.mapping(xStats.mean(), yStats.mean())
                .withSlope(sumOfProductsOfDeltas / xSumOfSquaresOfDeltas);
          } else {
            return LinearTransformation.horizontal(yStats.mean());
          }
        } else {
          checkState(yStats.sumOfSquaresOfDeltas() > 0.0);
          return LinearTransformation.vertical(xStats.mean());
        }
      }
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K 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/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. licenses/sigs.k8s.io/json/LICENSE

       1. Definitions.
    
          "License" shall mean the terms and conditions for use, reproduction,
          and distribution as defined by Sections 1 through 9 of this document.
    
          "Licensor" shall mean the copyright owner or entity authorized by
          the copyright owner that is granting the License.
    
          "Legal Entity" shall mean the union of the acting entity and all
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 05 01:31:25 UTC 2022
    - 12.6K 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/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)
  10. 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)
Back to top