Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 102 for min_length (0.12 seconds)

  1. docs_src/query_params_str_validations/tutorial002_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Union[str, None] = Query(default=None, max_length=50)):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 308 bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractor.java

            for (final String[] row : rows) {
                if (headers != null && headers.length > 0) {
                    // Associate values with column names
                    final int minLength = Math.min(headers.length, row.length);
                    for (int i = 0; i < minLength; i++) {
                        if (StringUtil.isNotBlank(row[i])) {
                            textBuilder.append(headers[i]).append(headerValueSeparator).append(row[i]).append(fieldSeparator);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py

                                "schema": {
                                    "anyOf": [
                                        {
                                            "type": "string",
                                            "minLength": 3,
                                            "maxLength": 50,
                                            "pattern": "^fixedquery$",
                                        },
                                        {"type": "null"},
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. docs_src/body_fields/tutorial001_py310.py

    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 523 bytes
    - Click Count (0)
  5. tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

                                        {
                                            "type": "string",
                                            "format": "uri",
                                            "minLength": 1,
                                            "maxLength": 2083,
                                        },
                                        {"type": "null"},
                                    ],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_query_params_str_validations/test_tutorial004.py

                                "schema": {
                                    "anyOf": [
                                        {
                                            "type": "string",
                                            "minLength": 3,
                                            "maxLength": 50,
                                            "pattern": "^fixedquery$",
                                        },
                                        {"type": "null"},
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 12:45:20 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_body_nested_models/test_tutorial006.py

                                "title": "Url",
                                "type": "string",
                                "format": "uri",
                                "maxLength": 2083,
                                "minLength": 1,
                            },
                            "name": {
                                "title": "Name",
                                "type": "string",
                            },
                        },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  8. docs_src/body_fields/tutorial001_py39.py

    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 561 bytes
    - Click Count (0)
  9. docs_src/body_fields/tutorial001_an_py39.py

    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 582 bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

        private static final String ESC = "\u001B";
        private static final String ANSI_DARK_SET = ESC + "[90m";
        private static final String ANSI_DARK_RESET = ESC + "[0m";
    
        // CHECKSTYLE_OFF: LineLength
        /**
         * Formats file size with the associated <a href="https://en.wikipedia.org/wiki/Metric_prefix">SI</a> prefix
         * (GB, MB, kB) and using the patterns <code>#0.0</code> for numbers between 1 and 10
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Apr 22 22:13:51 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top