Search Options

Results per page
Sort
Preferred Languages
Advance

Results 911 - 920 of 4,010 for nAme (0.02 sec)

  1. docs_src/separate_openapi_schemas/tutorial001_py39.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: Optional[str] = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    def create_item(item: Item):
        return item
    
    
    @app.get("/items/")
    def read_items() -> list[Item]:
        return [
            Item(
                name="Portal Gun",
                description="Device to travel through the multi-rick-verse",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 483 bytes
    - Viewed (0)
  2. docs_src/generate_clients/tutorial001.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class ResponseMessage(BaseModel):
        message: str
    
    
    @app.post("/items/", response_model=ResponseMessage)
    async def create_item(item: Item):
        return {"message": "item received"}
    
    
    @app.get("/items/", response_model=List[Item])
    async def get_items():
        return [
            {"name": "Plumbus", "price": 3},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 519 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsRequestHeaderCQ.java

        }
    
        public void setName_Equal(String name) {
            setName_Term(name, null);
        }
    
        public void setName_Equal(String name, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setName_Term(name, opLambda);
        }
    
        public void setName_Term(String name) {
            setName_Term(name, null);
        }
    
        public void setName_Term(String name, ConditionOptionCall<TermQueryBuilder> opLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsRoleTypeCQ.java

        }
    
        public void setName_Equal(String name) {
            setName_Term(name, null);
        }
    
        public void setName_Equal(String name, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setName_Term(name, opLambda);
        }
    
        public void setName_Term(String name) {
            setName_Term(name, null);
        }
    
        public void setName_Term(String name, ConditionOptionCall<TermQueryBuilder> opLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 55.2K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/storage/v1/generated.proto

    // CSIDriver objects are non-namespaced.
    message CSIDriver {
      // Standard object metadata.
      // metadata.Name indicates the name of the CSI driver that this object
      // refers to; it MUST be the same name returned by the CSI GetPluginName()
      // call for that driver.
      // The driver name must be 63 characters or less, beginning and ending with
      // an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. docs_src/separate_openapi_schemas/tutorial001_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    def create_item(item: Item):
        return item
    
    
    @app.get("/items/")
    def read_items() -> list[Item]:
        return [
            Item(
                name="Portal Gun",
                description="Device to travel through the multi-rick-verse",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 451 bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/resources/inheritance-repo/t11/p0/p1/pom.xml

        <groupId>maven</groupId>
        <version>1.0</version>
      </parent>
      <modelVersion>4.0.0</modelVersion>
      <groupId>maven</groupId>
      <artifactId>p1</artifactId>
      <packaging>jar</packaging>
      <name>p1</name>
      <version>1.0</version>
      <scm>
        <url>scm-url</url>
      </scm>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 338 bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

            while (parser.nextTag() == XmlPullParser.START_TAG) {
                parser.nextTag();
                // 'name-then-value' or 'value-then-name'
                if ("name".equals(parser.getName())) {
                    final String name = parser.nextText();
                    parser.nextTag();
                    properties.put(name, parser.nextText());
                } else {
                    final String value = parser.nextText();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. finisher_api.go

    //
    //	// assign an email if the record is not found
    //	db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user)
    //	// user -> User{Name: "non_existing", Email: "******@****.***"}
    //
    //	// assign email regardless of if record is found
    //	db.Where(User{Name: "jinzhu"}).Assign(User{Email: "******@****.***"}).FirstOrInit(&user)
    //	// user -> User{Name: "jinzhu", Age: 20, Email: "******@****.***"}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  10. docs_src/separate_openapi_schemas/tutorial002_py310.py

    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
    
    
    app = FastAPI(separate_input_output_schemas=False)
    
    
    @app.post("/items/")
    def create_item(item: Item):
        return item
    
    
    @app.get("/items/")
    def read_items() -> list[Item]:
        return [
            Item(
                name="Portal Gun",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 486 bytes
    - Viewed (0)
Back to top