Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 277 for variable (0.19 sec)

  1. docs/en/docs/python-types.md

    #### List
    
    For example, let's define a variable to be a `list` of `str`.
    
    === "Python 3.9+"
    
        Declare the variable, with the same colon (`:`) syntax.
    
        As the type, put `list`.
    
        As the list is a type that contains some internal types, you put them in square brackets:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/debugging.md

    #### Pour davantage de détails
    
    Imaginons que votre fichier s'appelle `myapp.py`.
    
    Si vous l'exécutez avec :
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    alors la variable interne `__name__` de votre fichier, créée automatiquement par Python, aura pour valeur la chaîne de caractères `"__main__"`.
    
    Ainsi, la section :
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Mar 06 16:26:49 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/conditional-openapi.md

    Here we declare the setting `openapi_url` with the same default of `"/openapi.json"`.
    
    And then we use it when creating the `FastAPI` app.
    
    Then you could disable OpenAPI (including the UI docs) by setting the environment variable `OPENAPI_URL` to the empty string, like:
    
    <div class="termy">
    
    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/ExperimentalOkHttpApi.kt

    @MustBeDocumented
    @Retention(value = AnnotationRetention.BINARY)
    @Target(
      AnnotationTarget.CLASS,
      AnnotationTarget.ANNOTATION_CLASS,
      AnnotationTarget.PROPERTY,
      AnnotationTarget.FIELD,
      AnnotationTarget.LOCAL_VARIABLE,
      AnnotationTarget.VALUE_PARAMETER,
      AnnotationTarget.CONSTRUCTOR,
      AnnotationTarget.FUNCTION,
      AnnotationTarget.PROPERTY_GETTER,
      AnnotationTarget.PROPERTY_SETTER,
      AnnotationTarget.TYPEALIAS,
    )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. ci/official/envs/ci_default

    # Note: this file gets sourced in utilities/setup.sh, which has "set -u"
    # (error on undefined variables). This ensures that (a) every TFCI variable
    # has an explicit default value, and (b) no script can accidentally use a
    # variable that doesn't exist. Please keep this list in alphabetical order.
    #
    # Find usage in scripts with e.g.:
    #   cd ci/official
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioSystemProperties.kt

            throw IllegalArgumentException("Android Studio home must be provided via the 'studioHome' system property, or auto downloading must be enabled via `autoDownloadAndroidStudio=true` gradle property, system property, or environment variable")
        }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Tue Feb 20 09:51:32 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/bigger-applications.md

    ### Avoid name collisions
    
    We are importing the submodule `items` directly, instead of importing just its variable `router`.
    
    This is because we also have another variable named `router` in the submodule `users`.
    
    If we had imported one after the other, like:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

            }
    
            if (declaration is KtProperty) {
                val bindingContext = analysisContext.analyze(declaration)
                val kotlinType = bindingContext[BindingContext.VARIABLE, declaration]?.returnType
                    ?: ErrorUtils.createErrorType(ErrorTypeKind.IMPLICIT_RETURN_TYPE_FOR_PROPERTY, declaration.name ?: "<unknown>")
    
                return kotlinType.toKtType(analysisContext)
            }
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Tue Oct 24 20:59:56 GMT 2023
    - 15.5K bytes
    - Viewed (0)
  9. docs/sts/etcd.md

    You may also setup etcd with TLS following this documentation [here](https://coreos.com/etcd/docs/latest/op-guide/security.html)
    
    ### 3. Setup MinIO with etcd
    
    MinIO server expects environment variable for etcd as `MINIO_ETCD_ENDPOINTS`, this environment variable takes many comma separated entries.
    
    ```
    export MINIO_ETCD_ENDPOINTS=http://localhost:2379
    minio server /data
    ```
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/settings.md

    $ 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
    ```
    
    </div>
    
    🌐 🔢 💪 ⚒ 🏞 📟, ✋️ 💪 ✍ 📟, &amp; 🚫 ✔️ 🏪 (💕 `git`) ⏮️ 🎂 📁, ⚫️ ⚠ ⚙️ 👫 📳 ⚖️ ⚒.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.4K bytes
    - Viewed (0)
Back to top