Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 1,174 for settings (0.24 seconds)

  1. docs_src/settings/app01_py39/main.py

    from fastapi import FastAPI
    
    from .config import settings
    
    app = FastAPI()
    
    
    @app.get("/info")
    async def info():
        return {
            "app_name": settings.app_name,
            "admin_email": settings.admin_email,
            "items_per_user": settings.items_per_user,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 267 bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/site/apt/index.apt

    | <<<*>>> | User properties | <<<$\{foo\}>>> |
    *----+------+------+
    | <<<env.*>>>\
    <<<*>>> | environment variables | <<<$\{env.PATH\}>>> |
    *----+------+------+
    | <<<settings.*>>> | Local user settings (see {{{../maven-settings/settings.html}settings reference}}) | <<<$\{settings.localRepository\}>>> |
    *----+------+------+
    | <<<changelist>>> \
    <<<revision>>> \
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 03 08:42:52 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  3. scripts/label_approved.py

    
    class Settings(BaseSettings):
        github_repository: str
        token: SecretStr
        debug: bool | None = False
        config: dict[str, LabelSettings] | Literal[""] = default_config
    
    
    settings = Settings()
    if settings.debug:
        logging.basicConfig(level=logging.DEBUG)
    else:
        logging.basicConfig(level=logging.INFO)
    logging.debug(f"Using config: {settings.model_dump_json()}")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Jun 17 07:50:19 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java

     * under the License.
     */
    package org.apache.maven.settings.crypto;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.maven.settings.Proxy;
    import org.apache.maven.settings.Server;
    import org.apache.maven.settings.building.DefaultSettingsProblem;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Nov 16 13:55:43 GMT 2024
    - 6K bytes
    - Click Count (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/UrlSettingsSource.java

         * Creates a new model source backed by the specified URL.
         *
         * @param settingsUrl The settings URL, must not be {@code null}.
         */
        public UrlSettingsSource(URL settingsUrl) {
            super(settingsUrl);
        }
    
        /**
         * Gets the settings URL of this model source.
         *
         * @return The underlying settings URL, never {@code null}.
         * @deprecated instead use {@link #getUrl()}
         */
        @Deprecated
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecrypter.java

     * under the License.
     */
    package org.apache.maven.settings.crypto;
    
    /**
     * Decrypts passwords in the settings.
     *
     * @deprecated since 4.0.0
     */
    @Deprecated(since = "4.0.0")
    public interface SettingsDecrypter {
    
        /**
         * Decrypts passwords in the settings.
         *
         * @param request The settings decryption request that holds the parameters, must not be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  7. api/maven-api-settings/src/site/apt/index.apt

     2006-11-04
     -----
    
    Maven 4 API - Immutable Settings Model
    
     This is strictly the immutable model for Maven settings in <<<org.apache.maven.api.settings>>> package.
    
     The following are generated from this model:
    
       * {{{./apidocs/index.html}Java sources}} with <<<Builder>>> inner classes for immutable instances creation.
    
     See also corresponding {{{../../compat/maven-settings/index.html}Maven classical settings model documentation}}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Nov 16 18:16:44 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingResult.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.settings.building;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.maven.settings.Settings;
    
    /**
     * Collects the output of the settings builder.
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/SettingsValidator.java

        /**
         * Validate the specified settings.
         *
         * @param settings The settings to validate, must not be {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         */
        void validate(Settings settings, SettingsProblemCollector problems);
    
        /**
         * Validate the specified settings.
         *
         * @param settings The settings to validate, must not be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. docs/en/docs/how-to/conditional-openapi.md

    ## Conditional OpenAPI from settings and env vars { #conditional-openapi-from-settings-and-env-vars }
    
    You can easily use the same Pydantic settings to configure your generated OpenAPI and the docs UIs.
    
    For example:
    
    {* ../../docs_src/conditional_openapi/tutorial001_py39.py hl[6,11] *}
    
    Here we declare the setting `openapi_url` with the same default of `"/openapi.json"`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top