Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 543 for os (0.01 seconds)

  1. docs/pt/docs/advanced/response-directly.md

    Por exemplo, você não pode colocar um modelo do Pydantic em uma `JSONResponse` sem antes convertê-lo em um `dict` com todos os tipos de dados (como `datetime`, `UUID`, etc) convertidos para tipos compatíveis com JSON.
    
    Para esses casos, você pode usar o `jsonable_encoder` para converter seus dados antes de repassá-los para a resposta:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/StandardSystemProperty.java

       */
      @Deprecated
      JAVA_EXT_DIRS("java.ext.dirs"),
    
      /** Operating system name. */
      OS_NAME("os.name"),
    
      /** Operating system architecture. */
      OS_ARCH("os.arch"),
    
      /** Operating system version. */
      OS_VERSION("os.version"),
    
      /** File separator ("/" on UNIX). */
      FILE_SEPARATOR("file.separator"),
    
      /** Path separator (":" on UNIX). */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Mar 06 10:03:30 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

            model: CIBuildModel,
            stage: Stage,
            testCoverage: TestCoverage,
            bucketIndex: Int,
        ): FunctionalTest {
            val parallelizationMethod =
                when (testCoverage.os) {
                    Os.LINUX -> ParallelizationMethod.TestDistribution
                    else -> ParallelizationMethod.None
                }
    
            return FunctionalTest(
                model,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Sep 24 08:38:33 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  4. docs/es/docs/environment-variables.md

    Por ejemplo, podrías tener un archivo `main.py` con:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | Consejo
    
    El segundo argumento de <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> es el valor por defecto a retornar.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/configurations/BaseGradleBuildType.kt

    package configurations
    
    import common.Os
    import jetbrains.buildServer.configs.kotlin.BuildType
    import model.Stage
    
    open class BaseGradleBuildType(
        open val stage: Stage? = null,
        open val failStage: Boolean = true,
        init: BaseGradleBuildType.() -> Unit = {},
    ) : BuildType() {
        init {
            this.init()
        }
    }
    
    open class OsAwareBaseGradleBuildType(
        val os: Os,
        override val stage: Stage? = null,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 560 bytes
    - Click Count (0)
  6. docs/pt/docs/advanced/middleware.md

    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    Mas, o FastAPI (na verdade, o Starlette) fornece uma maneira mais simples de fazer isso que garante que os middlewares internos lidem com erros do servidor e que os manipuladores de exceções personalizados funcionem corretamente.
    
    Para isso, você usa `app.add_middleware()` (como no exemplo para CORS).
    
    ```Python
    from fastapi import FastAPI
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  7. docker-buildx.sh

    	export release
    }
    
    function _build() {
    	local osarch=$1
    	IFS=/ read -r -a arr <<<"$osarch"
    	os="${arr[0]}"
    	arch="${arr[1]}"
    	package=$(go list -f '{{.ImportPath}}')
    	printf -- "--> %15s:%s\n" "${osarch}" "${package}"
    
    	# go build -trimpath to build the binary.
    	export GOOS=$os
    	export GOARCH=$arch
    	export MINIO_RELEASE=RELEASE
    	LDFLAGS=$(go run buildscripts/gen-ldflags.go)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Oct 19 08:22:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    
    import org.apache.maven.toolchain.DefaultToolchain;
    import org.apache.maven.toolchain.model.ToolchainModel;
    import org.apache.maven.utils.Os;
    import org.slf4j.Logger;
    
    /**
     * JDK toolchain implementation.
     *
     * @since 2.0.9, renamed from DefaultJavaToolChain in 3.2.4
     * @deprecated Use {@link org.apache.maven.api.services.ToolchainFactory} instead.
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/encoder.md

    Por exemplo, ele não recebe objetos `datetime`, pois estes objetos não são compatíveis com JSON.
    
    Então, um objeto `datetime` teria que ser convertido em um `str` contendo os dados no <a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">formato ISO</a>.
    
    Da mesma forma, este banco de dados não receberia um modelo Pydantic (um objeto com atributos), apenas um `dict`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_additional_responses/test_tutorial004.py

    import importlib
    import os
    import shutil
    
    import pytest
    from fastapi.testclient import TestClient
    
    from tests.utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial004_py39"),
            pytest.param("tutorial004_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.additional_responses.{request.param}")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top