Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1961 - 1970 of 3,421 for list (0.07 sec)

  1. docs_src/generate_clients/tutorial003_py39.py

        email: str
    
    
    @app.post("/items/", response_model=ResponseMessage, tags=["items"])
    async def create_item(item: Item):
        return {"message": "Item received"}
    
    
    @app.get("/items/", response_model=list[Item], tags=["items"])
    async def get_items():
        return [
            {"name": "Plumbus", "price": 3},
            {"name": "Portal Gun", "price": 9001},
        ]
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 914 bytes
    - Viewed (0)
  2. docs_src/body_updates/tutorial002_py310.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str | None = None
        description: str | None = None
        price: float | None = None
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 1010 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/DataConfigDbm.java

        public ColumnInfo columnUpdatedTime() {
            return _columnUpdatedTime;
        }
    
        public ColumnInfo columnVirtualHosts() {
            return _columnVirtualHosts;
        }
    
        protected List<ColumnInfo> ccil() {
            List<ColumnInfo> ls = newArrayList();
            ls.add(columnAvailable());
            ls.add(columnBoost());
            ls.add(columnCreatedBy());
            ls.add(columnCreatedTime());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/CurlRequest.java

        protected Proxy proxy;
    
        protected String encoding = "UTF-8";
    
        protected int threshold = 1024 * 1024; // 1m
    
        protected Method method;
    
        protected List<String> paramList;
    
        protected List<String[]> headerList;
    
        protected String body;
    
        protected InputStream bodyStream;
    
        protected String compression = null;
    
        protected SSLSocketFactory sslSocketFactory = null;
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  5. docs_src/header_param_models/tutorial002_pv1_an_py310.py

    
    class CommonHeaders(BaseModel):
        class Config:
            extra = "forbid"
    
        host: str
        save_data: bool
        if_modified_since: str | None = None
        traceparent: str | None = None
        x_tag: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(headers: Annotated[CommonHeaders, Header()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 436 bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                return new String(new char[50_000]);
              }
            };
        List<Object> list = Collections.singletonList(object);
        for (int i = 0; i < 10; i++) {
          Object[] array = new Object[500];
          Arrays.fill(array, list);
          list = Arrays.asList(array);
        }
        future2.set(list);
    
        unused = future.toString();
      }
    
      public void testToString_notDone() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsAccessTokenCB.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.config.cbean.bs;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
    import org.codelibs.fess.es.config.bsentity.dbmeta.AccessTokenDbm;
    import org.codelibs.fess.es.config.cbean.AccessTokenCB;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsKeyMatchCB.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.config.cbean.bs;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
    import org.codelibs.fess.es.config.bsentity.dbmeta.KeyMatchDbm;
    import org.codelibs.fess.es.config.cbean.KeyMatchCB;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsRoleTypeCB.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.config.cbean.bs;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
    import org.codelibs.fess.es.config.bsentity.dbmeta.RoleTypeDbm;
    import org.codelibs.fess.es.config.cbean.RoleTypeCB;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import com.google.common.collect.Lists;
    import java.io.ByteArrayInputStream;
    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Collections;
    import java.util.List;
    
    /**
     * Test class for {@link MultiInputStream}.
     *
     * @author Chris Nokleberg
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.6K bytes
    - Viewed (0)
Back to top