Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 931 - 940 of 1,636 for configs (0.04 seconds)

  1. docs_src/settings/app02_an_py310/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 Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 445 bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsFileConfig.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.config.bsentity;
    
    import java.time.LocalDateTime;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.opensearch.config.allcommon.EsAbstractEntity;
    import org.codelibs.fess.opensearch.config.bsentity.dbmeta.FileConfigDbm;
    
    /**
     * ${table.comment}
     * @author ESFlute (using FreeGen)
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  3. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SpnegoContext.java

         */
        SpnegoContext(final Configuration config, final SSPContext source, final ASN1ObjectIdentifier[] mech) {
            this.mechContext = source;
            this.mechs = mech;
            this.disableMic = !config.isEnforceSpnegoIntegrity() && config.isDisableSpnegoIntegrity();
            this.requireMic = config.isEnforceSpnegoIntegrity();
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        @Mock
        CIFSContext ctx;
    
        @Mock
        Configuration config;
    
        @Mock
        Credentials credentials;
    
        @Mock
        DfsResolver dfsResolver;
    
        private SmbTreeConnection newConn() {
            return new SmbTreeConnection(ctx) {
            };
        }
    
        @BeforeEach
        void setup() {
            when(ctx.getConfig()).thenReturn(config);
            // keep retries small for faster and deterministic tests
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  6. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 24 18:58:05 GMT 2021
    - 13.6K bytes
    - Click Count (0)
  7. docs_src/settings/app02_py310/test_main.py

    from fastapi.testclient import TestClient
    
    from .config import Settings
    from .main import app, get_settings
    
    client = TestClient(app)
    
    
    def get_settings_override():
        return Settings(admin_email="******@****.***")
    
    
    app.dependency_overrides[get_settings] = get_settings_override
    
    
    def test_app():
        response = client.get("/info")
        data = response.json()
        assert data == {
            "app_name": "Awesome API",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 515 bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingInfo.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.config.exentity;
    
    import java.util.List;
    
    import org.codelibs.fess.opensearch.config.bsentity.BsCrawlingInfo;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class CrawlingInfo extends BsCrawlingInfo {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. helm-releases/minio-3.0.1.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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Sep 02 01:47:43 GMT 2021
    - 13.8K bytes
    - Click Count (0)
  10. helm-releases/minio-3.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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 03 08:11:32 GMT 2021
    - 13.8K bytes
    - Click Count (0)
Back to Top