Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1641 - 1650 of 4,020 for lost (0.02 sec)

  1. docs_src/body_nested_models/tutorial007_py39.py

        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
        images: Union[list[Image], None] = None
    
    
    class Offer(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        items: list[Item]
    
    
    @app.post("/offers/")
    async def create_offer(offer: Offer):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 570 bytes
    - Viewed (0)
  2. docs_src/request_files/tutorial001_03_an.py

    from fastapi import FastAPI, File, UploadFile
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(file: Annotated[bytes, File(description="A file read as bytes")]):
        return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(
        file: Annotated[UploadFile, File(description="A file read as UploadFile")],
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 431 bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/projects/PerformanceTestProject.kt

    import model.PerformanceTestCoverage
    import model.PerformanceTestProjectSpec
    import model.Stage
    
    abstract class PerformanceTestProject(model: CIBuildModel, val spec: PerformanceTestProjectSpec, val performanceTests: List<PerformanceTest>) : Project({
        this.id(spec.asConfigurationId(model))
        this.name = spec.asName()
    }) {
        init {
            performanceTests.forEach(this::buildType)
        }
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                    mainResult.getQueryTime(), mainResult.isPartialResults(), mainResult.getFacetResponse(), startPosition, pageSize, offset);
        }
    
        protected List<Map<String, Object>> extractList(final List<Map<String, Object>> docs, final int pageSize, final int startPosition) {
            final int size = docs.size();
            if (size == 0) {
                return docs; // empty
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        assertEquals(1, queue.remainingCapacity());
      }
    
      public void testAddAll_largeList() {
        final List<String> list = ImmutableList.of("one", "two", "three", "four", "five");
        List<String> misbehavingList =
            new AbstractList<String>() {
              @Override
              public int size() {
                return list.size();
              }
    
              @Override
              public String get(int index) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/ResourcesTest.java

        LineProcessor<List<String>> collectAndLowercaseAndTrim =
            new LineProcessor<List<String>>() {
              List<String> collector = new ArrayList<>();
    
              @Override
              public boolean processLine(String line) {
                collector.add(whitespace().trimFrom(line));
                return true;
              }
    
              @Override
              public List<String> getResult() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top