Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 825 for annotaties (0.07 sec)

  1. docs/nl/docs/python-types.md

    ///
    
    ## Type Hints met Metadata Annotaties
    
    Python heeft ook een functie waarmee je **extra <abbr title="Data over de data, in dit geval informatie over het type, bijvoorbeeld een beschrijving.">metadata</abbr>** in deze type hints kunt toevoegen met behulp van `Annotated`.
    
    //// tab | Python 3.9+
    
    In Python 3.9 is `Annotated` onderdeel van de standaardpakket, dus je kunt het importeren vanuit `typing`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. docs/nl/docs/features.md

    ### Getest
    
    * 100% <abbr title="De hoeveelheid code die automatisch wordt getest">van de code is getest</abbr>.
    * 100% <abbr title="Python type annotaties, hiermee kunnen je editor en externe tools je beter ondersteunen">type geannoteerde</abbr> codebase.
    * Wordt gebruikt in productietoepassingen.
    
    ## Starlette functies
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 03 13:50:38 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/informers_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    		if p.Annotations[annotation.AmbientRedirection.Name] == constants.AmbientRedirectionEnabled {
    			return
    		}
    		time.Sleep(1 * time.Second)
    	}
    	t.Fatal("Pod not annotated")
    }
    
    func assertPodNotAnnotated(t *testing.T, client kube.Client, pod *corev1.Pod) {
    	for i := 0; i < 5; i++ {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. .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)
  5. 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)
  6. 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)
  7. docs/en/docs/tutorial/response-model.md

    This simple case is handled automatically by FastAPI because the return type annotation is the class (or a subclass of) `Response`.
    
    And tools will also be happy because both `RedirectResponse` and `JSONResponse` are subclasses of `Response`, so the type annotation is correct.
    
    ### Annotate a Response Subclass
    
    You can also use a subclass of `Response` in the type annotation:
    
    ```Python hl_lines="8-9"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. 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)
  9. cni/pkg/plugin/plugin_test.go

    	pod.Spec.Containers = []corev1.Container{app, proxy}
    	pod.ObjectMeta.Annotations = map[string]string{annotation.SidecarStatus.Name: "true"}
    	ns.ObjectMeta.Labels = map[string]string{label.IoIstioDataplaneMode.Name: constants.DataplaneModeAmbient}
    
    	testDoAddRun(t, cniConf, testNSName, pod, ns)
    
    	wasCalled := serverClose()
    	// Pod has sidecar annotation from injector, should not be added to mesh
    	assert.Equal(t, wasCalled, false)
    }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. 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)
Back to top