Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 765 for Annotation (0.1 sec)

  1. tests/test_response_model_as_return_annotation.py

    
    @app.get("/no_response_model-annotation-return_same_model")
    def no_response_model_annotation_return_same_model() -> User:
        return User(name="John", surname="Doe")
    
    
    @app.get("/no_response_model-annotation-return_exact_dict")
    def no_response_model_annotation_return_exact_dict() -> User:
        return {"name": "John", "surname": "Doe"}
    
    
    @app.get("/no_response_model-annotation-return_invalid_dict")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 14 09:49:57 UTC 2023
    - 47.7K bytes
    - Viewed (0)
  2. .idea/inspectionProfiles/Gradle.xml

              <option value="io.reactivex.annotations.Beta" />
              <option value="io.reactivex.annotations.Experimental" />
              <option value="org.apache.http.annotation.Beta" />
              <option value="org.gradle.api.Incubating" />
              <option value="org.jetbrains.annotations.ApiStatus.Experimental" />
              <option value="rx.annotations.Beta" />
              <option value="rx.annotations.Experimental" />
            </set>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 26 21:49:47 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/informers.go

    		if ns == nil {
    			return fmt.Errorf("failed to find namespace %v", ns)
    		}
    		wasAnnotated := oldPod.Annotations != nil && oldPod.Annotations[annotation.AmbientRedirection.Name] == constants.AmbientRedirectionEnabled
    		isAnnotated := newPod.Annotations != nil && newPod.Annotations[annotation.AmbientRedirection.Name] == constants.AmbientRedirectionEnabled
    		shouldBeEnabled := util.PodRedirectionEnabled(ns, newPod)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. cni/pkg/plugin/plugin.go

    	"k8s.io/client-go/kubernetes"
    
    	"istio.io/api/annotation"
    	"istio.io/api/label"
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/cni/pkg/util"
    	"istio.io/istio/pkg/file"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/util/sets"
    )
    
    var (
    	injectAnnotationKey = annotation.SidecarInject.Name
    	sidecarStatusKey    = annotation.SidecarStatus.Name
    
    	podRetrievalMaxRetries = 30
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

          if (annotations == null) {
            annotations = new ArrayList<>();
            for (Annotation a : classOrMethod.getDeclaredAnnotations()) {
              if (a.annotationType().isAnnotationPresent(TesterAnnotation.class)) {
                annotations.add(a);
              }
            }
            annotations = unmodifiableList(annotations);
            annotationCache.put(classOrMethod, annotations);
          }
          return annotations;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/informers_test.go

    		},
    	}
    	redirectedNotEnrolled := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:        "redirected-not-enrolled",
    			Namespace:   "test",
    			UID:         "12346",
    			Annotations: map[string]string{annotation.AmbientRedirection.Name: constants.AmbientRedirectionEnabled},
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.13",
    		},
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            repository?.close()
        }
    
        def "each new #apiElement requires a @Incubating annotation"() {
            given:
            JApiCompatibility jApiType = getProperty(jApiTypeName)
            def rule = withContext(new IncubatingMissingRule([:]))
            def annotations = []
            jApiType.annotations >> annotations
    
            when:
            annotations.clear()
    
            then:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  8. fastapi/dependencies/utils.py

                default=param.default,
                annotation=get_typed_annotation(param.annotation, globalns),
            )
            for param in signature.parameters.values()
        ]
        typed_signature = inspect.Signature(typed_params)
        return typed_signature
    
    
    def get_typed_annotation(annotation: Any, globalns: Dict[str, Any]) -> Any:
        if isinstance(annotation, str):
            annotation = ForwardRef(annotation)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

          if (annotations == null) {
            annotations = new ArrayList<>();
            for (Annotation a : classOrMethod.getDeclaredAnnotations()) {
              if (a.annotationType().isAnnotationPresent(TesterAnnotation.class)) {
                annotations.add(a);
              }
            }
            annotations = unmodifiableList(annotations);
            annotationCache.put(classOrMethod, annotations);
          }
          return annotations;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. cni/pkg/plugin/sidecar_redirect.go

    )
    
    var (
    	includeIPCidrsKey       = annotation.SidecarTrafficIncludeOutboundIPRanges.Name
    	excludeIPCidrsKey       = annotation.SidecarTrafficExcludeOutboundIPRanges.Name
    	excludeInboundPortsKey  = annotation.SidecarTrafficExcludeInboundPorts.Name
    	includeInboundPortsKey  = annotation.SidecarTrafficIncludeInboundPorts.Name
    	excludeOutboundPortsKey = annotation.SidecarTrafficExcludeOutboundPorts.Name
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top