Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1951 - 1960 of 7,002 for recur2 (0.08 sec)

  1. docs_src/handling_errors/tutorial006.py

    async def custom_http_exception_handler(request, exc):
        print(f"OMG! An HTTP error!: {repr(exc)}")
        return await http_exception_handler(request, exc)
    
    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request, exc):
        print(f"OMG! The client sent invalid data!: {exc}")
        return await request_validation_exception_handler(request, exc)
    
    
    @app.get("/items/{item_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 09 11:10:33 UTC 2020
    - 928 bytes
    - Viewed (0)
  2. cmd/config.go

    				lookupConfigs(srvCfg, objAPI)
    				return srvCfg, nil
    			}
    			return nil, err
    		}
    
    		data, err = decryptData(data, configFile)
    		if err != nil {
    			lookupConfigs(srvCfg, objAPI)
    			return nil, err
    		}
    	}
    
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err := json.Unmarshal(data, &srvCfg); err != nil {
    		return nil, err
    	}
    
    	// Add any missing entries
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. internal/config/policy/opa/config.go

    		CloseRespFn: closeRespFn,
    	}
    	if err = args.Validate(); err != nil {
    		return args, err
    	}
    	return args, nil
    }
    
    // New - initializes opa policy engine connector.
    func New(args Args) *Opa {
    	// No opa args.
    	if args.URL == nil || args.URL.Scheme == "" && args.AuthToken == "" {
    		return nil
    	}
    	return &Opa{
    		args:   args,
    		client: &http.Client{Transport: args.Transport},
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/CIBuildModel.kt

            }
        },
        CheckTeamCityKotlinDSL {
            override fun create(model: CIBuildModel, stage: Stage): OsAwareBaseGradleBuildType {
                return CheckTeamCityKotlinDSL(model, stage)
            }
        },
        TestPerformanceTest {
            override fun create(model: CIBuildModel, stage: Stage): OsAwareBaseGradleBuildType {
                return TestPerformanceTest(model, stage)
            }
        },
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 16 06:14:14 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

                    return classifier;
                }
    
                @Override
                public String getExtension() {
                    return extension;
                }
    
                @Override
                public String getType() {
                    return type;
                }
    
                public String getCoordinatesString() {
                    return coordinatesString;
                }
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java

            return userLocalArtifactRepository.getReleases();
        }
    
        @Override
        public ArtifactRepositoryPolicy getSnapshots() {
            return userLocalArtifactRepository.getSnapshots();
        }
    
        @Override
        public String getKey() {
            return userLocalArtifactRepository.getKey();
        }
    
        @Override
        public String getUrl() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterators.java

          UnmodifiableIterator<T> result = (UnmodifiableIterator<T>) iterator;
          return result;
        }
        return new UnmodifiableIterator<T>() {
          @Override
          public boolean hasNext() {
            return iterator.hasNext();
          }
    
          @Override
          @ParametricNullness
          public T next() {
            return iterator.next();
          }
        };
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test_util.h

      TF_DeleteTensor(t);
      TF_DeleteStatus(status);
      return th;
    }
    
    // Return a scalar tensor handle with given values.
    template <class T, TF_DataType datatype>
    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, const T value) {
      T data[] = {value};
      return TestTensorHandleWithDims<T, datatype>(ctx, data, nullptr, 0);
    }
    
    // Return a tensor handle containing a 100x100 matrix of floats
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Jul 17 23:43:59 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

                .createTestSuite());
    
        return derivedSuites;
      }
    
      protected SetTestSuiteBuilder<Entry<K, V>> createDerivedEntrySetSuite(
          TestSetGenerator<Entry<K, V>> entrySetGenerator) {
        return SetTestSuiteBuilder.using(entrySetGenerator);
      }
    
      protected SetTestSuiteBuilder<K> createDerivedKeySetSuite(TestSetGenerator<K> keySetGenerator) {
        return SetTestSuiteBuilder.using(keySetGenerator);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

            if (edges == null || edges.isEmpty()) {
                return null;
            }
    
            if (edges.size() == 1) {
                MetadataGraphEdge e = edges.get(0);
                if (scope.encloses(e.getScope())) {
                    return e;
                }
    
                return null;
            }
    
            MetadataGraphEdge res = null;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top