Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1401 - 1410 of 1,978 for none (0.01 seconds)

  1. cmd/metrics-router.go

    const (
    	prometheusMetricsPathLegacy     = "/prometheus/metrics"
    	prometheusMetricsV2ClusterPath  = "/v2/metrics/cluster"
    	prometheusMetricsV2BucketPath   = "/v2/metrics/bucket"
    	prometheusMetricsV2NodePath     = "/v2/metrics/node"
    	prometheusMetricsV2ResourcePath = "/v2/metrics/resource"
    
    	// Metrics v3 endpoints
    	metricsV3Path = "/metrics/v3"
    )
    
    // Standard env prometheus auth type
    const (
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jul 15 16:28:02 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  2. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    participant handler as Exception handler
    participant dep as Dep with yield
    participant operation as Path Operation
    participant tasks as Background tasks
    
        Note over client,operation: Can raise exceptions, including HTTPException
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise Exception
            dep -->> handler: Raise Exception
            handler -->> client: HTTP error response
        end
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Feb 09 14:54:09 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_handling_errors/test_tutorial006.py

                }
            ]
        }
    
    
    def test_get_http_error():
        response = client.get("/items/3")
        assert response.status_code == 418, response.text
        assert response.json() == {"detail": "Nope! I don't like 3."}
    
    
    def test_get():
        response = client.get("/items/2")
        assert response.status_code == 200, response.text
        assert response.json() == {"item_id": 2}
    
    
    def test_openapi_schema():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. cmd/metrics-v3-types.go

    	}
    	// If valid non zero value set the metrics
    	if value > 0 {
    		m.values[name] = append(v, metricValue{
    			Labels: labelMap,
    			Value:  value,
    		})
    	}
    }
    
    // SetHistogram - sets values for the given MetricName using the provided
    // histogram.
    //
    // `filterByLabels` is a map of label names to list of allowed label values to
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java

    import org.apache.maven.settings.validation.DefaultSettingsValidator;
    import org.apache.maven.settings.validation.SettingsValidator;
    
    /**
     * A factory to create settings builder instances when no dependency injection is available. Note: This class
     * is only meant as a utility for developers that want to employ the settings builder outside of the Maven build system,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. docs/en/docs/project-generation.md

    You can use this template to get started, as it includes a lot of the initial set up, security, database and some API endpoints already done for you.
    
    GitHub Repository: <a href="https://github.com/tiangolo/full-stack-fastapi-template" class="external-link" target="_blank">Full Stack FastAPI Template</a>
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Dec 08 13:04:54 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. docs/es/docs/advanced/additional-status-codes.md

    No se serializará con un modelo, etc.
    
    Asegúrate de que tenga los datos que deseas que tenga y que los valores sean JSON válidos (si estás usando `JSONResponse`).
    
    ///
    
    /// note | Detalles Técnicos
    
    También podrías usar `from starlette.responses import JSONResponse`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/query-param-models.md

    Esto te permitiría **reutilizar el modelo** en **múltiples lugares** y también declarar validaciones y metadatos para todos los parámetros de una vez. 😎
    
    /// note | Nota
    
    Esto es compatible desde la versión `0.115.0` de FastAPI. 🤓
    
    ///
    
    ## Parámetros Query con un Modelo Pydantic { #query-parameters-with-a-pydantic-model }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. compat/maven-settings/src/site/apt/index.apt

     delegating content to {{{../../api/maven-api-settings/index.html}Maven 4 API immutable settings}}. All the effective model
     building logic from multiple settings files is done in {{{../maven-settings-builder/}Maven Settings Builder}}.
    
     The following are generated from this model:
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Nov 16 18:16:44 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/header-param-models.md

    # Header 参数模型
    
    如果您有一组相关的 **header 参数**,您可以创建一个 **Pydantic 模型**来声明它们。
    
    这将允许您在**多个地方**能够**重用模型**,并且可以一次性声明所有参数的验证和元数据。😎
    
    /// note
    
    自 FastAPI 版本 `0.115.0` 起支持此功能。🤓
    
    ///
    
    ## 使用 Pydantic 模型的 Header 参数
    
    在 **Pydantic 模型**中声明所需的 **header 参数**,然后将参数声明为 `Header` :
    
    {* ../../docs_src/header_param_models/tutorial001_an_py310.py hl[9:14,18] *}
    
    **FastAPI** 将从请求中接收到的 **headers** 中**提取**出**每个字段**的数据,并提供您定义的 Pydantic 模型。
    
    ## 查看文档
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 15 16:44:11 GMT 2024
    - 1.7K bytes
    - Click Count (0)
Back to Top