Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2331 - 2340 of 4,515 for fromP2 (0.04 sec)

  1. tests/test_response_model_as_return_annotation.py

    from typing import Union
    
    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import FastAPIError, ResponseValidationError
    from fastapi.responses import JSONResponse, Response
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class BaseUser(BaseModel):
        name: str
    
    
    class User(BaseUser):
        surname: str
    
    
    class DBUser(User):
        password_hash: str
    
    
    class Item(BaseModel):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        byte[] challenge = null;
    
        /**
         * Create an {@code NtlmPasswordAuthentication} object from the userinfo
         * component of an SMB URL like "{@code domain;user:pass}". This constructor
         * is used internally be jCIFS when parsing SMB URLs.
         */
    
        /**
         * Create an NtlmPasswordAuthentication object from a userinfo string.
         *
         * @param userInfo the user information string in the format "domain;user:pass"
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multiset.java

     * may never contain more than {@link Integer#MAX_VALUE} occurrences of any one element.
     *
     * <p>{@code Multiset} refines the specifications of several methods from {@code Collection}. It
     * also defines an additional query operation, {@link #count}, which returns the count of an
     * element. There are five new bulk-modification operations, for example {@link #add(Object, int)},
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  4. docs/fr/docs/index.md

    Déclarez ce corps en utilisant les types Python standards, grâce à Pydantic.
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. docs/es/docs/index.md

    Ahora modifica el archivo `main.py` para recibir un body desde un request `PUT`.
    
    Declara el body usando tipos estándar de Python, gracias a Pydantic.
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  6. docs/zh-hant/docs/index.md

    ## 範例升級
    
    現在繼續修改 `main.py` 檔案,來接收一個帶有 body 的 `PUT` 請求。
    
    我們使用 Pydantic 來使用標準的 Python 型別聲明請求。
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. docs/pt/docs/index.md

    Agora modifique o arquivo `main.py` para receber um corpo para uma requisição `PUT`.
    
    Declare o corpo utilizando tipos padrão Python, graças ao Pydantic.
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/DownloadForm.java

    package org.codelibs.fess.app.web.admin.dict.kuromoji;
    
    import org.lastaflute.web.validation.Required;
    
    /**
     * The download form for Kuromoji dictionary.
     * This form is used for downloading Kuromoji dictionary files from the admin interface.
     *
     */
    public class DownloadForm {
    
        /**
         * Dictionary ID for identifying the Kuromoji dictionary to download.
         */
        @Required
        public String dictId;
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                    return data.getFacetResponse();
                });
            } catch (final ExecutionException e) {
                throw new FessSystemException("Cannot load facet from cache.", e);
            }
        }
    
        /**
         * Creates highlighted text from highlight field fragments.
         *
         * @param highlightField the highlight field containing fragments
         * @return the combined highlighted text
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ArtifactVersion.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.versioning;
    
    /**
     * Describes an artifact version in terms of its components, converts it to/from a string and
     * compares two versions.
     *
     */
    public interface ArtifactVersion extends Comparable<ArtifactVersion> {
        int getMajorVersion();
    
        int getMinorVersion();
    
        int getIncrementalVersion();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top