Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 1,429 for field (0.03 sec)

  1. docs/en/docs/tutorial/cookie-param-models.md

    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="9-12  16"
    {!> ../../docs_src/cookie_param_models/tutorial001.py!}
    ```
    
    ////
    
    **FastAPI** will **extract** the data for **each field** from the **cookies** received in the request and give you the Pydantic model you defined.
    
    ## Check the Docs
    
    You can see the defined cookies in the docs UI at `/docs`:
    
    <div class="screenshot">
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/noncurrentversion.go

    // IsNull returns if both NoncurrentDays and NoncurrentVersions are empty
    func (n NoncurrentVersionExpiration) IsNull() bool {
    	return n.IsDaysNull() && n.NewerNoncurrentVersions == 0
    }
    
    // IsDaysNull returns true if days field is null
    func (n NoncurrentVersionExpiration) IsDaysNull() bool {
    	return n.NoncurrentDays == ExpirationDays(0)
    }
    
    // Validate returns an error with wrong value
    func (n NoncurrentVersionExpiration) Validate() error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 14 17:41:44 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/dataclasses.md

    ```{ .python .annotate hl_lines="1  5  8-11  14-17  23-25  28" }
    {!../../docs_src/dataclasses/tutorial003.py!}
    ```
    
    1. Ainda importamos `field` das `dataclasses` padrão.
    
    2. `pydantic.dataclasses` é um substituto direto para `dataclasses`.
    
    3. A dataclass `Author` inclui uma lista de dataclasses `Item`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 17:33:53 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/rbac/v1alpha1/generated.proto

      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // Rules holds all the PolicyRules for this ClusterRole
      // +optional
      repeated PolicyRule rules = 2;
    
      // AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
      // If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be
      // stomped by the controller.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

        }
    
        private void setValueToObject(Object obj, String name, Object value) {
            Field field = ClassUtil.getDeclaredField(obj.getClass(), name);
            field.setAccessible(true);
            FieldUtil.set(field, obj, value);
        }
    
        public void test_pruneNode() throws Exception {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java

        public interface ContentTransformer {
            /**
             * Interpolate the value read from the xpp3 document
             * @param source The source value
             * @param fieldName A description of the field being interpolated. The implementation may use this to
             *                           log stuff.
             * @return The interpolated value.
             */
            String transform(String source, String fieldName);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. docs/em/docs/advanced/dataclasses.md

    👈 💼, 👆 💪 🎯 💱 🐩 `dataclasses` ⏮️ `pydantic.dataclasses`, ❔ 💧-♻:
    
    ```{ .python .annotate hl_lines="1  5  8-11  14-17  23-25  28" }
    {!../../docs_src/dataclasses/tutorial003.py!}
    ```
    
    1️⃣. 👥 🗄 `field` ⚪️➡️ 🐩 `dataclasses`.
    
    2️⃣. `pydantic.dataclasses` 💧-♻ `dataclasses`.
    
    3️⃣. `Author` 🎻 🔌 📇 `Item` 🎻.
    
    4️⃣. `Author` 🎻 ⚙️ `response_model` 🔢.
    
    5️⃣. 👆 💪 ⚙️ 🎏 🐩 🆎 ✍ ⏮️ 🎻 📨 💪.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

             * tokenizerFactory = japaneseTokenizerFactory; } initialized = true;
             */
        }
    
        @Override
        public List<String> convert(final String text, final String field, final String... langs) throws IOException {
            final List<String> readingList = new ArrayList<>();
            readingList.add(toKatakana(text));
            return readingList;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_request_files/test_tutorial003_py39.py

    @pytest.fixture(name="client")
    def get_client(app: FastAPI):
        client = TestClient(app)
        return client
    
    
    file_required = {
        "detail": [
            {
                "loc": ["body", "files"],
                "msg": "field required",
                "type": "value_error.missing",
            }
        ]
    }
    
    
    @needs_py39
    def test_post_files(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/scheduling/v1alpha1/generated.proto

      // the default priority for pods that do not have any priority class.
      // Only one PriorityClass can be marked as `globalDefault`. However, if more than
      // one PriorityClasses exists with their `globalDefault` field set to true,
      // the smallest value of such global default PriorityClasses will be used as the default priority.
      // +optional
      optional bool globalDefault = 3;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top