Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 724 for tag2 (0.04 sec)

  1. docs_src/body_nested_models/tutorial005.py

    
    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: Set[str] = set()
        image: Union[Image, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 517 bytes
    - Viewed (0)
  2. docs_src/body_nested_models/tutorial006_py39.py

    
    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
        images: Union[list[Image], None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 519 bytes
    - Viewed (0)
  3. docs_src/body_nested_models/tutorial007_py310.py

    app = FastAPI()
    
    
    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        images: list[Image] | None = None
    
    
    class Offer(BaseModel):
        name: str
        description: str | None = None
        price: float
        items: list[Item]
    
    
    @app.post("/offers/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 520 bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

            then:
            format(result.docbook) == '''<para><UNHANDLED-ELEMENT>&lt;unknown&gt;text&lt;/unknown&gt;</UNHANDLED-ELEMENT><UNHANDLED-ELEMENT>&lt;inheritdoc&gt;<UNHANDLED-TAG>{@unknown text}</UNHANDLED-TAG><UNHANDLED-TAG>{@p text}</UNHANDLED-TAG><UNHANDLED-TAG>{@ unknown}</UNHANDLED-TAG>&lt;/inheritdoc&gt;</UNHANDLED-ELEMENT></para>'''
        }
    
        def handlesMissingStartTags() {
            _ * classMetaData.rawCommentText >> 'a para</b></p>'
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 14.2K bytes
    - Viewed (0)
  5. docs_src/body_nested_models/tutorial006.py

    
    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: Set[str] = set()
        images: Union[List[Image], None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 530 bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/orig/open-search/osdd.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
      <ShortName>Fess</ShortName>
      <Description>Full Text Search for Your Documents.</Description>
      <Tags>Full Text Search</Tags>
      <Contact>******@****.***</Contact>
      <SearchForm>http://localhost:8080/fess/</SearchForm>
      <Url type="text/html" template="http://localhost:8080/fess/search?q={searchTerms}"/>
      <InputEncoding>UTF-8</InputEncoding>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 10 02:26:02 UTC 2015
    - 535 bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/body-nested-models.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="14"
    {!> ../../docs_src/body_nested_models/tutorial001.py!}
    ```
    
    ////
    
    Это приведёт к тому, что обьект `tags` преобразуется в список, несмотря на то что тип его элементов не объявлен.
    
    ## Определение полей содержащих список с определением типов его элементов
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/body-nested-models.md

    내부 타입을 갖는 모델 어트리뷰트에 대해 동일한 표준 문법을 사용하세요.
    
    마찬가지로 예제에서 `tags`를 구체적으로 "문자열의 리스트"로 만들 수 있습니다:
    
    ```Python hl_lines="14"
    {!../../docs_src/body_nested_models/tutorial002.py!}
    ```
    
    ## 집합 타입
    
    그런데 생각해보니 태그는 반복되면 안 되고, 고유한(Unique) 문자열이어야 할 것 같습니다.
    
    그리고 파이썬은 집합을 위한 특별한 데이터 타입 `set`이 있습니다.
    
    그렇다면 `Set`을 임포트 하고 `tags`를 `str`의 `set`으로 선언할 수 있습니다:
    
    ```Python hl_lines="1  14"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

                tagClass = header.tagClass,
                tag = header.tag,
                constructed = header.constructed,
                length = header.length,
                bytes = bytes,
              )
            }
          }
    
          override fun toDer(
            writer: DerWriter,
            value: AnyValue,
          ) {
            writer.write("ANY", value.tagClass, value.tag) {
              writer.writeOctetString(value.bytes)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. istioctl/pkg/tag/generate.go

    	FailurePolicy map[string]*admitv1.FailurePolicyType
    }
    
    // GenerateOptions is the group of options needed to generate a tag webhook.
    type GenerateOptions struct {
    	// Tag is the name of the revision tag to generate.
    	Tag string
    	// Revision is the revision to associate the revision tag with.
    	Revision string
    	// WebhookName is an override for the mutating webhook name.
    	WebhookName string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top