Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 1,569 for Field (0.02 seconds)

  1. docs_src/query_param_models/tutorial002_an_py310.py

    from typing import Annotated, Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 483 bytes
    - Click Count (0)
  2. mockwebserver-junit4/README.md

    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:5.3.0")
    ```
    
    Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation:
    
    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instance
    will be shut down automatically after the test runs.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 706 bytes
    - Click Count (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

        /**
         * Field name for ID.
         */
        public static final String ID = "id";
    
        /**
         * Field name for transformer name.
         */
        public static final String TRANSFORMER_NAME = "transformerName";
    
        /**
         * Field name for data.
         */
        public static final String DATA = "data";
    
        /**
         * Field name for encoding.
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/QueryHelper.java

        /**
         * Creates a sort builder for the specified field and order.
         * This method handles special cases for score fields and regular field sorting.
         *
         * @param field the field name to sort by
         * @param order the sort order (ASC or DESC)
         * @return a configured sort builder
         */
        protected SortBuilder<?> createFieldSortBuilder(final String field, final SortOrder order) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  5. tests/test_forms_single_model.py

    from fastapi import FastAPI, Form
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FormModel(BaseModel):
        username: str
        lastname: str
        age: int | None = None
        tags: list[str] = ["foo", "bar"]
        alias_with: str = Field(alias="with", default="nothing")
    
    
    class FormModelExtraAllow(BaseModel):
        param: str
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

            Field[] fields = CorsHandler.class.getDeclaredFields();
            for (Field field : fields) {
                if (field.getName().startsWith("ACCESS_CONTROL_")) {
                    int modifiers = field.getModifiers();
                    assertTrue("Field " + field.getName() + " should be protected", Modifier.isProtected(modifiers));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java

            request.addRole(role);
            return this;
        }
    
        /**
         * Adds a field to filter by.
         * @param field The field name.
         * @return This builder instance.
         */
        public SuggestRequestBuilder addField(final String field) {
            request.addField(field);
            return this;
        }
    
        /**
         * Adds a kind to filter by.
         * @param kind The kind.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/exception/NoSuchFieldRuntimeException.java

         */
        private final Class<?> targetClass;
    
        /**
         * The name of the field.
         */
        private final String fieldName;
    
        /**
         * Creates a {@link NoSuchFieldRuntimeException}.
         *
         * @param targetClass
         *            Target class
         * @param fieldName
         *            Field name
         * @param cause
         *            The cause of the exception
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. tensorflow/c/c_api_macros_internal.h

                                    "` structure with `struct_size` field "   \
                                    "set to " #SIZE_VALUE_NAME                \
                                    ". Found `struct_size` = 0.");            \
        }                                                                     \
      } while (0)
    
    // Macro to verify that the field NAME of STRUCT_OBJ is not null.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Click Count (0)
  10. docs_src/query_param_models/tutorial001_an_py310.py

    from typing import Annotated, Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 443 bytes
    - Click Count (0)
Back to Top