Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for union2 (0.25 sec)

  1. docs/en/docs/release-notes.md

    ```Python
    from typing import Union
    from fastapi import Cookie, FastAPI, Header, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    def main(
        item_id: int = Path(gt=0),
        query: Union[str, None] = Query(default=None, max_length=10),
        session: Union[str, None] = Cookie(default=None, min_length=3),
        x_trace: Union[str, None] = Header(default=None, title="Tracing header"),
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:37 UTC 2024
    - 395.4K bytes
    - Viewed (0)
  2. doc/go_spec.html

    interface {
    	~[]byte  // the underlying type of []byte is itself
    	~MyInt   // illegal: the underlying type of MyInt is not MyInt
    	~error   // illegal: error is an interface
    }
    </pre>
    
    <p>
    Union elements denote unions of type sets:
    </p>
    
    <pre>
    // The Float interface represents all floating-point types
    // (including any named types whose underlying types are
    // either float32 or float64).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  3. pkg/apis/core/types.go

    	// parameters such as nameservers and search paths should be defined via
    	// DNSConfig.
    	DNSNone DNSPolicy = "None"
    )
    
    // NodeSelector represents the union of the results of one or more label queries
    // over a set of nodes; that is, it represents the OR of the selectors represented
    // by the node selector terms.
    type NodeSelector struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/core/v1/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // The set of all endpoints is the union of all subsets. Addresses are placed into
      // subsets according to the IPs they share. A single address with multiple ports,
      // some of which are ready and some of which are not (because they come from
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/core/v1/generated.proto

      // +optional
      optional PodAntiAffinity podAntiAffinity = 3;
    }
    
    // AppArmorProfile defines a pod or container's AppArmor settings.
    // +union
    message AppArmorProfile {
      // type indicates which kind of AppArmor profile will be applied.
      // Valid options are:
      //   Localhost - a profile pre-loaded on the node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 280.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/core/v1/types.go

    const (
    	// DefaultTerminationGracePeriodSeconds indicates the default duration in
    	// seconds a pod needs to terminate gracefully.
    	DefaultTerminationGracePeriodSeconds = 30
    )
    
    // A node selector represents the union of the results of one or more label queries
    // over a set of nodes; that is, it represents the OR of the selectors represented
    // by the node selector terms.
    // +structType=atomic
    type NodeSelector struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

    	"metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 254.8K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__batch__v1_openapi.json

                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object",
            "x-kubernetes-unions": [
              {
                "discriminator": "type",
                "fields-to-discriminateBy": {
                  "localhostProfile": "LocalhostProfile"
                }
              }
            ]
          },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 485.4K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__admissionregistration.k8s.io__v1_openapi.json

    \"object.redact__underscores__d > 0\"}\n\nEquality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n  - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n    non-intersecting elements in `Y` are appended, retaining their partial order.\n  - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 388.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go

    res__d > 0\"}\n\nEquality on arrays with x-kubernetes-list-type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n  - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n    non-intersecting elements in `Y` are appended, retaining their partial order.\n  - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:17 UTC 2024
    - 329.7K bytes
    - Viewed (0)
Back to top