Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 2,057 for setI (0.02 sec)

  1. docs_src/body_nested_models/tutorial004.py

    from typing import Set, Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: str
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: Set[str] = set()
        image: Union[Image, None] = None
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 504 bytes
    - Viewed (0)
  2. internal/deadlineconn/deadlineconn.go

    type DeadlineConn struct {
    	net.Conn
    	readDeadline  time.Duration // sets the read deadline on a connection.
    	readSetAt     time.Time
    	writeDeadline time.Duration // sets the write deadline on a connection.
    	writeSetAt    time.Time
    }
    
    // Sets read deadline
    func (c *DeadlineConn) setReadDeadline() {
    	if c.readDeadline > 0 {
    		now := time.Now()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 17:40:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/noncurrentversion_test.go

    				NewerNoncurrentVersions: 2,
    				set:                     true,
    			},
    			err: nil,
    		},
    		{
    			n: NoncurrentVersionExpiration{
    				NoncurrentDays: -1,
    				set:            true,
    			},
    			err: errXMLNotWellFormed,
    		},
    		{
    			n: NoncurrentVersionExpiration{
    				NoncurrentDays:          90,
    				NewerNoncurrentVersions: -2,
    				set:                     true,
    			},
    			err: errXMLNotWellFormed,
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 14 17:41:44 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. docs_src/path_operation_configuration/tutorial003_py39.py

        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
    
    
    @app.post(
        "/items/",
        response_model=Item,
        summary="Create an item",
        description="Create an item with all the information, name, description, price, tax and a set of unique tags",
    )
    async def create_item(item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 512 bytes
    - Viewed (0)
  5. helm-releases/minio-5.0.0.tgz

    # Name of the bucket # - name: bucket1 # # Policy to be set on the # # bucket [none|download|upload|public] # policy: none # # Purge if bucket exists already # purge: false # # set versioning for # # bucket [true|false] # versioning: false # # set objectlocking for # # bucket [true|false] NOTE: versioning is enabled by default if you use locking # objectlocking: false # - name: bucket2 # policy: none # purge: false # versioning: true # # set objectlocking for # # bucket [true|false] NOTE: versioning...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 10:20:22 UTC 2022
    - 19.8K bytes
    - Viewed (0)
  6. docs/metrics/prometheus/alerts.md

        labels:
          severity: critical
        annotations:
          summary: "Instance {{ $labels.server }} has lost quorum on pool {{ $labels.pool }} on set {{ $labels.set }}"
          description: "MinIO instance {{ $labels.server }} of job {{ $labels.job }} has lost quorum on pool {{ $labels.pool }} on set {{ $labels.set }} for more than 5 minutes."
    ```
    
    ## Verify the configuration and alerts
    To verify the above sample alert follow below steps
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 28 20:53:59 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    When defining conventions for a property, there are largely three approaches:
    1. Do not set a convention at all
    2. Set a convention in a plugin
    3. Set a convention in a constructor
    
    Most properties should have a convention set, so (1) can be treated as a rare case where a value must be provided by a user.
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 15 20:00:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. helm/minio/values.yaml

    ##
    fullnameOverride: ""
    
    ## set kubernetes cluster domain where minio is running
    ##
    clusterDomain: cluster.local
    
    ## Set default image, imageTag, and imagePullPolicy. mode is used to indicate the
    ##
    image:
      repository: quay.io/minio/minio
      tag: RELEASE.2024-04-18T19-09-19Z
      pullPolicy: IfNotPresent
    
    imagePullSecrets: []
    # - name: "image-pull-secret"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  9. cmd/metrics-v3-cluster-notification.go

    	if globalEventNotifier == nil {
    		return nil
    	}
    
    	nstats := globalEventNotifier.targetList.Stats()
    	m.Set(notificationCurrentSendInProgress, float64(nstats.CurrentSendCalls))
    	m.Set(notificationEventsErrorsTotal, float64(nstats.EventsErrorsTotal))
    	m.Set(notificationEventsSentTotal, float64(nstats.TotalEvents))
    	m.Set(notificationEventsSkippedTotal, float64(nstats.EventsSkipped))
    
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 24 04:10:35 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. docs_src/path_operation_configuration/tutorial004_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, summary="Create an item")
    async def create_item(item: Item):
        """
        Create an item with all the information:
    
        - **name**: each item must have a name
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 638 bytes
    - Viewed (0)
Back to top