Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for discriminator (0.12 sec)

  1. fastapi/params.py

                description=description,
                gt=gt,
                ge=ge,
                lt=lt,
                le=le,
                min_length=min_length,
                max_length=max_length,
                discriminator=discriminator,
                multiple_of=multiple_of,
                allow_nan=allow_inf_nan,
                max_digits=max_digits,
                decimal_places=decimal_places,
                **extra,
            )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  2. fastapi/openapi/models.py

        examples: Optional[List[Any]] = None
        # Ref: OpenAPI 3.1.0: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#schema-object
        # Schema Object
        discriminator: Optional[Discriminator] = None
        xml: Optional[XML] = None
        externalDocs: Optional[ExternalDocumentation] = None
        example: Annotated[
            Optional[Any],
            typing_deprecated(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (1)
  3. src/cmd/go/internal/work/action.go

    	if a1.Package != nil {
    		haveDep[a1.Package.ImportPath] = true
    	}
    	for i := 0; i < len(workq); i++ {
    		a1 := workq[i]
    		for _, a2 := range a1.Deps {
    			// TODO(rsc): Find a better discriminator than the Mode strings, once the dust settles.
    			if a2.Package == nil || (a2.Mode != "build-install" && a2.Mode != "build") || haveDep[a2.Package.ImportPath] {
    				continue
    			}
    			haveDep[a2.Package.ImportPath] = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. src/cmd/doc/main.go

    		// Easy: current directory.
    		return importDir(wd), "", "", false
    	}
    	arg := args[0]
    	// We have an argument. If it is a directory name beginning with . or ..,
    	// use the absolute path name. This discriminates "./errors" from "errors"
    	// if the current directory contains a non-standard errors package.
    	if isDotSlash(arg) {
    		arg = filepath.Join(wd, arg)
    	}
    	switch len(args) {
    	default:
    		usage()
    	case 1:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top