Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 54 for p_alias (0.06 seconds)

  1. fastapi/encoders.py

                        key,
                        by_alias=by_alias,
                        exclude_unset=exclude_unset,
                        exclude_none=exclude_none,
                        custom_encoder=custom_encoder,
                        sqlalchemy_safe=sqlalchemy_safe,
                    )
                    encoded_value = jsonable_encoder(
                        value,
                        by_alias=by_alias,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  2. fastapi/_compat/v2.py

                exclude=exclude,
                by_alias=by_alias,
                exclude_unset=exclude_unset,
                exclude_defaults=exclude_defaults,
                exclude_none=exclude_none,
            )
    
        def serialize_json(
            self,
            value: Any,
            *,
            include: IncEx | None = None,
            exclude: IncEx | None = None,
            by_alias: bool = True,
            exclude_unset: bool = False,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  3. fastapi/routing.py

                )
            serializer = field.serialize_json if dump_json else field.serialize
            return serializer(
                value,
                include=include,
                exclude=exclude,
                by_alias=by_alias,
                exclude_unset=exclude_unset,
                exclude_defaults=exclude_defaults,
                exclude_none=exclude_none,
            )
    
        else:
            return jsonable_encoder(response_content)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  4. fastapi/params.py

            kwargs["deprecated"] = deprecated
    
            if serialization_alias in (_Unset, None) and isinstance(alias, str):
                serialization_alias = alias
            if validation_alias in (_Unset, None):
                validation_alias = alias
            kwargs.update(
                {
                    "annotation": annotation,
                    "alias_priority": alias_priority,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  5. fastapi/param_functions.py

            Doc(
                """
                Priority of the alias. This affects whether an alias generator is used.
                """
            ),
        ] = _Unset,
        validation_alias: Annotated[
            str | AliasPath | AliasChoices | None,
            Doc(
                """
                'Whitelist' validation step. The parameter field will be the single one
                allowed by the alias or set of aliases defined.
                """
            ),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
  6. fastapi/dependencies/utils.py

                if convert_underscores:
                    alias = get_validation_alias(field)
                    if alias == field.name:
                        alias = alias.replace("_", "-")
            value = _get_multidict_value(field, received_params, alias=alias)
            if value is not None:
                params_to_process[get_validation_alias(field)] = value
            processed_keys.add(alias or get_validation_alias(field))
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  7. fastapi/openapi/models.py

        # Core Vocabulary
        schema_: str | None = Field(default=None, alias="$schema")
        vocabulary: str | None = Field(default=None, alias="$vocabulary")
        id: str | None = Field(default=None, alias="$id")
        anchor: str | None = Field(default=None, alias="$anchor")
        dynamicAnchor: str | None = Field(default=None, alias="$dynamicAnchor")
        ref: str | None = Field(default=None, alias="$ref")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  8. clause/clause.go

    	PrimaryColumn = Column{Table: CurrentTable, Name: PrimaryKey}
    )
    
    // Column quote with name
    type Column struct {
    	Table string
    	Name  string
    	Alias string
    	Raw   bool
    }
    
    // Table quote with name
    type Table struct {
    	Name  string
    	Alias string
    	Raw   bool
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  9. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/model/License.kt

        );
    
        companion object {
            /** Lookup map built lazily from all [aliases] across all entries. */
            val byPomName: Map<String, License> by lazy {
                entries.flatMap { lic -> lic.aliases.map { alias -> alias to lic } }.toMap()
            }
    
            /** Returns the [License] whose [aliases] include [name], or null if unrecognised. */
            fun fromPomName(name: String): License? = byPomName[name]
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 13:24:46 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial007_an_py310.py hl[10] *}
    
    Und eine `description`:
    
    {* ../../docs_src/query_params_str_validations/tutorial008_an_py310.py hl[14] *}
    
    ## Alias-Parameter { #alias-parameters }
    
    Stellen Sie sich vor, Sie möchten, dass der Parameter `item-query` ist.
    
    Wie in:
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 18.7K bytes
    - Click Count (0)
Back to Top