Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for Elias (0.16 sec)

  1. tests/test_response_by_alias.py

    @app.get("/list", response_model=List[Model], response_model_by_alias=False)
    def read_list():
        return [{"alias": "Foo"}, {"alias": "Bar"}]
    
    
    @app.get("/by-alias/dict", response_model=Model)
    def by_alias_dict():
        return {"alias": "Foo"}
    
    
    @app.get("/by-alias/model", response_model=Model)
    def by_alias_model():
        return Model(alias="Foo")
    
    
    @app.get("/by-alias/list", response_model=List[Model])
    def by_alias_list():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  2. fastapi/params.py

                default=default,
                default_factory=default_factory,
                annotation=annotation,
                alias=alias,
                alias_priority=alias_priority,
                validation_alias=validation_alias,
                serialization_alias=serialization_alias,
                title=title,
                description=description,
                gt=gt,
                ge=ge,
                lt=lt,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  3. fastapi/encoders.py

                """
            ),
        ] = None,
        by_alias: Annotated[
            bool,
            Doc(
                """
                Pydantic's `by_alias` parameter, passed to Pydantic models to define if
                the output should use the alias names (when provided) or the Python
                attribute names. In an API, if you set an alias, it's probably because you
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. fastapi/dependencies/utils.py

                use_annotation,
                field_info,
                param_name,
            )
            if not field_info.alias and getattr(field_info, "convert_underscores", None):
                alias = param_name.replace("_", "-")
            else:
                alias = field_info.alias or param_name
            field_info.alias = alias
            field = create_response_field(
                name=param_name,
                type_=use_annotation_from_field_info,
    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)
  5. fastapi/openapi/models.py

        schema_: Optional[str] = Field(default=None, alias="$schema")
        vocabulary: Optional[str] = Field(default=None, alias="$vocabulary")
        id: Optional[str] = Field(default=None, alias="$id")
        anchor: Optional[str] = Field(default=None, alias="$anchor")
        dynamicAnchor: Optional[str] = Field(default=None, alias="$dynamicAnchor")
        ref: Optional[str] = Field(default=None, alias="$ref")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
  6. docs/config/README.md

    to adjust the `max_sleep` and `max_io` values thereby increasing the healing speed. The delays between each operation of the healer can be adjusted by the `mc admin config set alias/ heal max_sleep=1s` and maximum concurrent requests allowed before we start slowing things down can be configured with `mc admin config set alias/ heal max_io=30` . By default the wait delay is `250ms` beyond 100 concurrent operations. This means the healer will sleep *250 milliseconds* at max for each heal operation if...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/query-params-str-validations.md

    Le nom le plus proche serait `item_query`.
    
    Mais vous avez vraiment envie que ce soit exactement `item-query`...
    
    Pour cela vous pouvez déclarer un `alias`, et cet alias est ce qui sera utilisé pour trouver la valeur du paramètre :
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial009.py!}
    ```
    
    ## Déprécier des paramètres
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:53:21 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  8. internal/config/api/api.go

    }
    
    // UnmarshalJSON - Validate SS and RRS parity when unmarshalling JSON.
    func (sCfg *Config) UnmarshalJSON(data []byte) error {
    	type Alias Config
    	aux := &struct {
    		*Alias
    	}{
    		Alias: (*Alias)(sCfg),
    	}
    	return json.Unmarshal(data, &aux)
    }
    
    // LookupConfig - lookup api config and override with valid environment settings if any.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  9. src/builtin/builtin.go

    // distinct type, however, and not an alias for, say, int32.
    type int int
    
    // uint is an unsigned integer type that is at least 32 bits in size. It is a
    // distinct type, however, and not an alias for, say, uint32.
    type uint uint
    
    // uintptr is an integer type that is large enough to hold the bit pattern of
    // any pointer.
    type uintptr uintptr
    
    // byte is an alias for uint8 and is equivalent to uint8 in all ways. It is
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. callbacks/query.go

    							return clause.Join{
    								Type:  joinType,
    								Table: clause.Table{Name: relation.FieldSchema.Table, Alias: tableAliasName},
    								ON:    clause.Where{Exprs: exprs},
    							}
    						}
    
    						parentTableName := clause.CurrentTable
    						for _, rel := range relations {
    							// joins table alias like "Manager, Company, Manager__Company"
    							nestedAlias := utils.NestedRelationName(parentTableName, rel.Name)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Jan 29 03:34:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top