Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1301 - 1310 of 1,979 for id (0.02 sec)

  1. docs_src/path_params_numeric_validations/tutorial005_an.py

    from fastapi import FastAPI, Path
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: Annotated[int, Path(title="The ID of the item to get", gt=0, le=1000)],
        q: str,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 341 bytes
    - Viewed (0)
  2. docs/nl/docs/features.md

    def main(user_id: str):
        return user_id
    
    
    # Een Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Vervolgens kan je het op deze manier gebruiken:
    
    ```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)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 03 13:50:38 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle-handlers.go

    		return
    	}
    
    	// Create a map of updated set of rules in request
    	updatedRules := make(map[string]lifecycle.Rule, len(bucketLifecycle.Rules))
    	for _, rule := range bucketLifecycle.Rules {
    		updatedRules[rule.ID] = rule
    	}
    
    	// Get list of rules for the bucket from disk
    	meta, err := globalBucketMetadataSys.GetConfigFromDisk(ctx, bucket)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. cmd/typed-errors.go

    var errIAMNotInitialized = errors.New("IAM sub-system is being initialized, please try again")
    
    // error returned when upload id not found
    var errUploadIDNotFound = errors.New("Specified Upload ID is not found")
    
    // error returned when PartNumber is greater than the maximum allowed 10000 parts
    var errInvalidMaxParts = errors.New("Part number is greater than the maximum allowed 10000 parts")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

        ArtifactRepository createLocalRepository(File localRepository) throws InvalidRepositoryException;
    
        ArtifactRepository createArtifactRepository(
                String id,
                String url,
                ArtifactRepositoryLayout repositoryLayout,
                ArtifactRepositoryPolicy snapshots,
                ArtifactRepositoryPolicy releases);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/dataconfig/admin_dataconfig_edit.jsp

            <section class="content">
                <la:form action="/admin/dataconfig/">
                    <la:hidden property="crudMode"/>
                    <c:if test="${crudMode==2}">
                        <la:hidden property="id"/>
                        <la:hidden property="versionNo"/>
                    </c:if>
                    <la:hidden property="createdBy"/>
                    <la:hidden property="createdTime"/>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 9.6K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/design/admin_design.jsp

                        </div>
                    </div>
                </div>
            </div>
            <section class="content">
                <div class="row">
                    <div class="col-md-12">
                        <la:info id="msg" message="true">
                            <div class="alert alert-info">${msg}</div>
                        </la:info>
                        <la:errors property="_global"/>
                    </div>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 11.1K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/dict/protwords/admin_dict_protwords_details.jsp

                    <la:hidden property="crudMode"/>
                    <la:hidden property="dictId"/>
                    <c:if test="${crudMode==2 || crudMode==3 || crudMode==4}">
                        <la:hidden property="id"/>
                    </c:if>
                    <div class="row">
                        <div class="col-md-12">
                            <div
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 7.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

            }
        }
    
        public OptionalEntity<DictionaryFile<? extends DictionaryItem>> getDictionaryFile(final String id) {
            for (final DictionaryFile<? extends DictionaryItem> dictFile : getDictionaryFiles()) {
                if (dictFile.getId().equals(id)) {
                    return OptionalEntity.of(dictFile);
                }
            }
            return OptionalEntity.empty();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/labeltype/EditForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * @author Keiichi Watanabe
     */
    public class EditForm extends CreateForm {
    
        @Required
        @Size(max = 1000)
        public String id;
    
        @Size(max = 1000)
        public String updatedBy;
    
        @ValidateTypeFailure
        public Long updatedTime;
    
        @Required
        @ValidateTypeFailure
        public Integer versionNo;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top