Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 3,211 for Gist (0.06 sec)

  1. 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)
  2. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            pcd = pd.getParameterizedClassDesc();
            assertThat(pcd.getRawClass(), is(sameClass(List.class)));
            assertThat(pcd.getArguments().length, is(1));
            assertThat(pcd.getArguments()[0].getRawClass(), is(sameClass(Object.class)));
    
            bd = BeanDescFactory.getBeanDesc(Bar.class);
            pd = bd.getPropertyDesc("list");
            assertThat(pd.isParameterized(), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                }
            }
            return jspItems;
        }
    
        private List<String> loadFileNameItems() {
            final File baseDir = new File(getServletContext().getRealPath("/"));
            final List<String> fileNameItems = new ArrayList<>();
            final List<File> fileList = getAccessibleFileList(baseDir);
            final int length = baseDir.getAbsolutePath().length();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. buildscripts/verify-healing-empty-erasure-set.sh

    	done
    
    	"${MINIO[@]}" --address ":$((start_port + 1))" $args >"${WORK_DIR}/dist-minio-server1.log" 2>&1 &
    	pid1=$!
    	disown ${pid1}
    
    	"${MINIO[@]}" --address ":$((start_port + 2))" $args >"${WORK_DIR}/dist-minio-server2.log" 2>&1 &
    	pid2=$!
    	disown $pid2
    
    	"${MINIO[@]}" --address ":$((start_port + 3))" $args >"${WORK_DIR}/dist-minio-server3.log" 2>&1 &
    	pid3=$!
    	disown $pid3
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top