Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 192 for FIELD (0.02 sec)

  1. fastapi/_compat/v2.py

            else "validation"
        )
        field_alias = (
            (field.validation_alias or field.alias)
            if field.mode == "validation"
            else (field.serialization_alias or field.alias)
        )
    
        # This expects that GenerateJsonSchema was already used to generate the definitions
        json_schema = field_mapping[(field, override_mode or field.mode)]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  2. fastapi/openapi/models.py

        # Core Vocabulary
        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")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

            }
            if (DEFAULT_FIELD.equals(field)) {
                return convertDefaultTermQuery(fessConfig, context, termQuery, boost, field, text);
            }
            if (SORT_FIELD.equals(field)) {
                return convertSortQuery(fessConfig, context, termQuery, boost, field, text);
            }
            if (SITE_FIELD.equals(field)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

         * @param field the field name to check
         * @return true if the field can be used for sorting, false otherwise
         */
        protected boolean isSortField(final String field) {
            return sortFieldSet != null && sortFieldSet.contains(field);
        }
    
        /**
         * Checks if the specified field can be used for faceted search.
         * Uses O(1) Set lookup for improved performance.
         *
         * @param field the field name to check
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. fastapi/dependencies/utils.py

                    is_scalar_field(field)
                    or is_scalar_sequence_field(field)
                    or (
                        lenient_issubclass(field.type_, BaseModel)
                        # For Pydantic v1
                        and getattr(field, "shape", 1) == 1
                    )
                )
    
        return ParamDetails(type_annotation=type_annotation, depends=depends, field=field)
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
  6. src/main/resources/fess_config.properties

    # Field name for document ID in the index.
    index.field.doc_id=doc_id
    # Field name for internal ID in the index.
    index.field.id=_id
    # Field name for version in the index.
    index.field.version=_version
    # Field name for sequence number in the index.
    index.field.seq_no=_seq_no
    # Field name for primary term in the index.
    index.field.primary_term=_primary_term
    # Field name for language in the index.
    index.field.lang=lang
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 54.8K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/body-fields.md

    ## Importar `Field` { #import-field }
    
    Primero, tienes que importarlo:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning | Advertencia
    
    FĂ­jate que `Field` se importa directamente desde `pydantic`, no desde `fastapi` como el resto (`Query`, `Path`, `Body`, etc).
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. tests/test_compat.py

        from fastapi._compat import v2
    
        field_info = FieldInfo(annotation=Union[list[str], None])
        field = v2.ModelField(name="items", field_info=field_info)
        result = v2.serialize_sequence_value(field=field, value=["a", "b", "c"])
        assert result == ["a", "b", "c"]
        assert isinstance(result, list)
    
    
    @needs_py310
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. tests/test_request_params/test_query/test_list.py

    from typing import Annotated
    
    import pytest
    from dirty_equals import IsOneOf
    from fastapi import FastAPI, Query
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.get("/required-list-str")
    async def read_required_list_str(p: Annotated[list[str], Query()]):
        return {"p": p}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:31:34 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. fastapi/param_functions.py

                """
                'Whitelist' validation step. The parameter field will be the single one
                allowed by the alias or set of aliases defined.
                """
            ),
        ] = None,
        serialization_alias: Annotated[
            Union[str, None],
            Doc(
                """
                'Blacklist' validation step. The vanilla parameter field will be the
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 63K bytes
    - Viewed (0)
Back to top