Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 3,211 for List (0.03 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataSource.java

     * under the License.
     */
    package org.apache.maven.repository.metadata;
    
    import java.util.List;
    
    import org.apache.maven.artifact.repository.ArtifactRepository;
    
    /**
     * Provides some metadata operations, like querying the remote repository for a list of versions available for an
     * artifact.
     *
     */
    @Deprecated
    public interface MetadataSource {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. docs_src/path_operation_advanced_configuration/tutorial007.py

    from typing import List
    
    import yaml
    from fastapi import FastAPI, HTTPException, Request
    from pydantic import BaseModel, ValidationError
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        tags: List[str]
    
    
    @app.post(
        "/items/",
        openapi_extra={
            "requestBody": {
                "content": {"application/x-yaml": {"schema": Item.model_json_schema()}},
                "required": True,
            },
        },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 822 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            if (request != null) {
                @SuppressWarnings("unchecked")
                final Set<String> list = (Set<String>) request.getAttribute(USER_ROLES);
                if (list != null) {
                    return list;
                }
    
                // request parameter
                if (StringUtil.isNotBlank(parameterKey)) {
                    processParameter(request, roleSet);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. docs_src/query_params_str_validations/tutorial011.py

    from typing import List, Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Union[List[str], None] = Query(default=None)):
        query_items = {"q": q}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 227 bytes
    - Viewed (0)
  5. tests/test_response_model_as_return_annotation.py

    @app.get("/response_model_list_of_model-no_annotation", response_model=List[User])
    def response_model_list_of_model_no_annotation():
        return [
            DBUser(name="John", surname="Doe", password_hash="secret"),
            DBUser(name="Jane", surname="Does", password_hash="secret2"),
        ]
    
    
    @app.get("/no_response_model-annotation_list_of_model")
    def no_response_model_annotation_list_of_model() -> List[User]:
        return [
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 14 09:49:57 UTC 2023
    - 47.7K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                }
    
                if (value instanceof List) {
                    return ((List) value).get(index);
                }
            } catch (NumberFormatException | IndexOutOfBoundsException e) {
                return null;
            }
    
            final String message = String.format(
                    "The token '%s' at position '%d' refers to a java.util.List or an array, but the value "
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. docs/multi-user/README.md

    ```
    mc admin policy attach myminio putonly --group=newgroup
    ```
    
    ### 7. List all users or groups
    
    List all enabled and disabled users.
    
    ```
    mc admin user list myminio
    ```
    
    List all enabled or disabled groups.
    
    ```
    mc admin group list myminio
    ```
    
    ### 8. Configure `mc`
    
    ```
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. docs_src/query_params_str_validations/tutorial011_an.py

    from typing import List, Union
    
    from fastapi import FastAPI, Query
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[Union[List[str], None], Query()] = None):
        query_items = {"q": q}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 272 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java

            validateApi(body, messages -> {});
            final KeyMatchPager pager = copyBeanToNewBean(body, KeyMatchPager.class);
            final List<KeyMatch> list = keyMatchService.getKeyMatchList(pager);
            return asJson(
                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

            validateApi(body, messages -> {});
            final RolePager pager = copyBeanToNewBean(body, RolePager.class);
            final List<Role> list = roleService.getRoleList(pager);
            return asJson(
                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top