Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 722 for config (0.03 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. docs_src/settings/app02_an_py39/main.py

    from functools import lru_cache
    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    
    from .config import Settings
    
    app = FastAPI()
    
    
    @lru_cache
    def get_settings():
        return Settings()
    
    
    @app.get("/info")
    async def info(settings: Annotated[Settings, Depends(get_settings)]):
        return {
            "app_name": settings.app_name,
            "admin_email": settings.admin_email,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 445 bytes
    - Click Count (0)
  3. scripts/contributors.py

            logging.info("The data hasn't changed, finishing.")
            return
    
        logging.info("Setting up GitHub Actions git user")
        subprocess.run(["git", "config", "user.name", "github-actions[bot]"], check=True)
        subprocess.run(
            ["git", "config", "user.email", "github-actions[bot]@users.noreply.github.com"],
            check=True,
        )
        branch_name = f"fastapi-people-contributors-{secrets.token_hex(4)}"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  4. docs/erasure/storage-class/README.md

    export MINIO_STORAGE_CLASS_RRS=EC:2
    ```
    
    Storage class can also be set via `mc admin config` get/set commands to update the configuration. Refer [storage class](https://github.com/minio/minio/tree/master/docs/config#storage-class) for
    more details.
    
    #### Note
    
    - If `STANDARD` storage class is set via environment variables or `mc admin config` get/set commands, and `x-amz-storage-class` is not present in request metadata, MinIO server will
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. cmd/metrics-v3-handler.go

    			ErrorLog:            promLogger{},
    			ErrorHandling:       promhttp.ContinueOnError,
    			Registry:            registry,
    			MaxRequestsInFlight: 2,
    			EnableOpenMetrics:   env.Get(EnvPrometheusOpenMetrics, config.EnableOff) == config.EnableOn,
    			ProcessStartTime:    globalBootTime,
    		},
    		auth:        auth,
    		metricsData: metricGroups,
    	}
    }
    
    // metricDisplay - contains info on a metric for display purposes.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/projects/project-builder/MNG-6983/parent-pom.xml

                        <artifactId>build-helper-maven-plugin</artifactId>
                        <version>3.2.0</version>
                        <executions>
                            <execution>
                                <id>add-source-config</id>
                                <phase>generate-sources</phase>
                                <goals>
                                    <goal>add-source</goal>
                                </goals>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  7. .github/labeler.yml

            - '!pyproject.toml'
    
    internal:
      - all:
        - changed-files:
          - any-glob-to-any-file:
            - .github/**
            - scripts/**
            - .gitignore
            - .pre-commit-config.yaml
            - pdm_build.py
            - requirements*.txt
            - docs/en/data/sponsors.yml
            - docs/en/overrides/main.html
          - all-globs-to-all-files:
            - '!docs/*/docs/**'
            - '!fastapi/**'
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Nov 23 20:10:04 GMT 2025
    - 921 bytes
    - Click Count (0)
  8. helm-releases/minio-1.0.2.tgz

    .Values.configPathmc }} MC_CONFIG_DIR="{{ .Values.configPathmc }}" MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}" {{- else }} MC="/usr/bin/mc --insecure" {{- end }} # connectToMinio # Use a check-sleep-check loop to wait for Minio service to be available connectToMinio() { SCHEME=$1 ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts set -e ; # fail if we can't read the keys. ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ; set +e ; # The connections to minio are allowed to fail. echo "Connecting...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 24 18:58:05 GMT 2021
    - 13.6K bytes
    - Click Count (0)
  9. docs/en/overrides/partials/copyright.html

        <div class="md-copyright__highlight">
            The FastAPI trademark is owned by <a href="https://tiangolo.com" target="_blank">@tiangolo</a> and is registered in the US and across other regions
        </div>
        {% if not config.extra.generator == false %}
        Made with
        <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
            Material for MkDocs
        </a>
        {% endif %}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Feb 04 20:56:59 GMT 2024
    - 450 bytes
    - Click Count (0)
  10. .github/workflows/label-approved.yml

          run: uv pip install -r requirements-github-actions.txt
        - name: Label Approved
          run: python ./scripts/label_approved.py
          env:
            TOKEN: ${{ secrets.GITHUB_TOKEN }}
            CONFIG: >
              {
                "approved-1":
                  {
                    "number": 1,
                    "await_label": "awaiting-review"
                  }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Nov 21 13:03:21 GMT 2025
    - 1.1K bytes
    - Click Count (0)
Back to Top