Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 3,177 for user (0.52 sec)

  1. docs/en/docs/tutorial/body-multiple-params.md

        "tax": 3.2
    }
    ```
    
    But you can also declare multiple body parameters, e.g. `item` and `user`:
    
    {* ../../docs_src/body_multiple_params/tutorial002_py310.py hl[20] *}
    
    
    In this case, **FastAPI** will notice that there is more than one body parameter in the function (there are two parameters that are Pydantic models).
    
    So, it will then use the parameter names as keys (field names) in the body, and expect a body like:
    
    ```JSON
    {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 12:58:04 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/body-multiple-params.md

    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    Aber Sie können auch mehrere Body-Parameter deklarieren, z. B. `item` und `user`:
    
    {* ../../docs_src/body_multiple_params/tutorial002_py310.py hl[20] *}
    
    In diesem Fall wird **FastAPI** bemerken, dass es mehr als einen Body-Parameter in der Funktion gibt (zwei Parameter, die Pydantic-Modelle sind).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_security/test_tutorial004.py

                        "security": [{"OAuth2PasswordBearer": []}],
                    }
                },
            },
            "components": {
                "schemas": {
                    "User": {
                        "title": "User",
                        "required": ["username"],
                        "type": "object",
                        "properties": {
                            "username": {"title": "Username", "type": "string"},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  4. docs/es/docs/features.md

        return user_id
    
    
    # Un modelo de Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Que luego puede ser usado como:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    /// info | Información
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. docs_src/extra_models/tutorial001_py310.py

    def fake_save_user(user_in: UserIn):
        hashed_password = fake_password_hasher(user_in.password)
        user_in_db = UserInDB(**user_in.model_dump(), hashed_password=hashed_password)
        print("User saved! ..not really")
        return user_in_db
    
    
    @app.post("/user/", response_model=UserOut)
    async def create_user(user_in: UserIn):
        user_saved = fake_save_user(user_in)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 905 bytes
    - Viewed (0)
  6. tests/test_forms_single_model.py

    
    class FormModelExtraAllow(BaseModel):
        param: str
    
        model_config = {"extra": "allow"}
    
    
    @app.post("/form/")
    def post_form(user: Annotated[FormModel, Form()]):
        return user
    
    
    @app.post("/form-extra-allow/")
    def post_form_extra_allow(params: Annotated[FormModelExtraAllow, Form()]):
        return params
    
    
    client = TestClient(app)
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Credentials.java

         * @return instance for type, null if the type cannot be unwrapped
         */
        <T extends Credentials> T unwrap(Class<T> type);
    
        /**
         * Get the domain of the user account.
         * @return the domain the user account is in
         */
        String getUserDomain();
    
        /**
         * Check if these are anonymous credentials.
         * @return whether these are anonymous credentials
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/user/exentity/Role.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.user.exentity;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.opensearch.user.bsentity.BsRole;
    
    /**
     * @author FreeGen
     */
    public class Role extends BsRole {
    
        private static final long serialVersionUID = 1L;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. guava-gwt/test/com/google/common/collect/testing/Testing.gwt.xml

    <inherits name="com.google.common.primitives.Primitives" />
    <inherits name="com.google.common.testing.Testing" />
    <inherits name="com.google.gwt.core.Core" />
    <inherits name="com.google.gwt.junit.JUnit" />
    <inherits name="com.google.gwt.user.User" />
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsGroupBhv.java

     */
    package org.codelibs.fess.opensearch.user.bsbhv;
    
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.opensearch.user.allcommon.EsAbstractBehavior;
    import org.codelibs.fess.opensearch.user.allcommon.EsAbstractEntity.RequestOptionCall;
    import org.codelibs.fess.opensearch.user.bsentity.dbmeta.GroupDbm;
    import org.codelibs.fess.opensearch.user.cbean.GroupCB;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top