Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for regenerate (0.19 sec)

  1. fastapi/_compat.py

                        self._type_adapter.validate_python(value, from_attributes=True),
                        None,
                    )
                except ValidationError as exc:
                    return None, _regenerate_error_with_loc(
                        errors=exc.errors(include_url=False), loc_prefix=loc
                    )
    
            def serialize(
                self,
                value: Any,
                *,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/generate-clients.md

        {!> ../../../docs_src/generate_clients/tutorial002_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="23  28  36"
        {!> ../../../docs_src/generate_clients/tutorial002.py!}
        ```
    
    ### Generate a TypeScript Client with Tags
    
    If you generate a client for a FastAPI app using tags, it will normally also separate the client code based on the tags.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. fastapi/dependencies/utils.py

        Type,
        Union,
        cast,
    )
    
    import anyio
    from fastapi import params
    from fastapi._compat import (
        PYDANTIC_V2,
        ErrorWrapper,
        ModelField,
        Required,
        Undefined,
        _regenerate_error_with_loc,
        copy_field_info,
        create_body_model,
        evaluate_forwardref,
        field_annotation_is_scalar,
        get_annotation_from_field_info,
        get_missing_field_error,
        is_bytes_field,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  4. cmd/bucket-metadata.go

    )
    
    //go:generate msgp -file $GOFILE
    
    // BucketMetadata contains bucket metadata.
    // When adding/removing fields, regenerate the marshal code using the go generate above.
    // Only changing meaning of fields requires a version bump.
    // bucketMetadataFormat refers to the format.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  5. architecture/networking/pilot.md

    pushed, so this optimization is intentionally turned off in this specific case.
    
    Finally, we determine which subset of the type we need to generate. XDS has two modes - "State of the World (SotW)" and "Delta". In SotW, we generally need to generate all resources of the type, even if only one changed. Note that we actually need to *generate* all of them, typically, as we do not store previously generated resources (mostly because they are generated per-client). This also means that whenever...
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Feb 07 17:53:24 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/generate.go

    	// TODO(Monkeyanator) once we stop using Helm templating remove this.
    	ManifestsPath string
    	// Generate determines whether we should just generate the webhooks without applying. This
    	// applying is not done here, but we are looser with checks when doing generate.
    	Generate bool
    	// Overwrite removes analysis checks around existing webhooks.
    	Overwrite bool
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/generate-clients.md

    Anschließend können Sie diese benutzerdefinierte Funktion als Parameter `generate_unique_id_function` an **FastAPI** übergeben:
    
    === "Python 3.9+"
    
        ```Python hl_lines="6-7  10"
        {!> ../../../docs_src/generate_clients/tutorial003_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="8-9  12"
        {!> ../../../docs_src/generate_clients/tutorial003.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 03:42:11 GMT 2024
    - 12K bytes
    - Viewed (0)
  8. istioctl/pkg/tag/generate_test.go

    	}
    }
    
    func testGenerateOption(t *testing.T, generate bool, assertFunc func(*testing.T, []admitv1.MutatingWebhook, []admitv1.MutatingWebhook)) {
    	defaultWh := defaultRevisionCanonicalWebhook.DeepCopy()
    	fakeClient := kube.NewFakeClient(defaultWh)
    
    	opts := &GenerateOptions{
    		Generate: generate,
    		Tag:      "default",
    		Revision: "default",
    	}
    
    	_, err := Generate(context.TODO(), fakeClient, opts, "istio-system")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest-generate_test.go

    type chartSourceType string
    
    var (
    	operatorRootDir = filepath.Join(env.IstioSrc, "operator")
    
    	// testDataDir contains the directory for manifest-generate test data
    	testDataDir = filepath.Join(operatorRootDir, "cmd/mesh/testdata/manifest-generate")
    
    	// Snapshot charts are in testdata/manifest-generate/data-snapshot
    	snapshotCharts = func() chartSourceType {
    		d, err := os.MkdirTemp("", "data-snapshot-*")
    		if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.pom

                            </executions>
                        </plugin>
                    </plugins>
                </build>
            </profile>
            <profile>
                <id>generate-docs</id>
                <!--
                Generate the documentation artifacts. 
                Note: this profile is also required to be active for release
                builds due to the packaging requirements of the Central repo
                -->
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 24.5K bytes
    - Viewed (0)
Back to top