Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 1,089 for itens (0.02 seconds)

  1. docs_src/pydantic_v1_in_v2/tutorial002_an_py310.py

    from fastapi import FastAPI
    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        size: float
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item) -> Item:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Oct 11 16:45:54 GMT 2025
    - 252 bytes
    - Click Count (0)
  2. tests/test_filter_pydantic_sub_model_pv2.py

                            "properties": {
                                "detail": {
                                    "title": "Detail",
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/ValidationError"
                                    },
                                }
                            },
                        },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  3. cmd/api-response.go

    	VersionID string `xml:"VersionId"`
    }
    
    // Metadata metadata items implemented to ensure XML marshaling works.
    type Metadata struct {
    	Items []struct {
    		Key   string
    		Value string
    	}
    }
    
    // Set add items, duplicate items get replaced.
    func (s *Metadata) Set(k, v string) {
    	for i, item := range s.Items {
    		if item.Key == k {
    			s.Items[i] = struct {
    				Key   string
    				Value string
    			}{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  4. docs_src/security/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    from fastapi.security import OAuth2PasswordBearer
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    @app.get("/items/")
    async def read_items(token: Annotated[str, Depends(oauth2_scheme)]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 309 bytes
    - Click Count (0)
  5. docs_src/cookie_param_models/tutorial001_py310.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Cookies(BaseModel):
        session_id: str
        fatebook_tracker: str | None = None
        googall_tracker: str | None = None
    
    
    @app.get("/items/")
    async def read_items(cookies: Cookies = Cookie()):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 303 bytes
    - Click Count (0)
  6. docs_src/additional_responses/tutorial001_py310.py

    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        id: str
        value: str
    
    
    class Message(BaseModel):
        message: str
    
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}", response_model=Item, responses={404: {"model": Message}})
    async def read_item(item_id: str):
        if item_id == "foo":
            return {"id": "foo", "value": "there goes my hero"}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 506 bytes
    - Click Count (0)
  7. scripts/playwright/separate_openapi_schemas/image01.py

        # Update the viewport manually
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_text("POST/items/Create Item").click()
        page.get_by_role("tab", name="Schema").first.click()
        # Manually add the screenshot
        page.screenshot(
            path="docs/en/docs/img/tutorial/separate-openapi-schemas/image01.png"
        )
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Sep 13 09:14:46 GMT 2024
    - 974 bytes
    - Click Count (0)
  8. helm/minio/templates/post-job.yaml

                  {{- range (concat .Values.users (default (list) .Values.svcaccts)) }}
                  {{- if .existingSecret }}
                  - secret:
                      name: {{ tpl .existingSecret $ }}
                      items:
                        - key: {{ .existingSecretKey }}
                          path: secrets/{{ tpl .existingSecret $ }}/{{ tpl .existingSecretKey $ }}
                  {{- end }}
                  {{- end }}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Oct 10 15:48:31 GMT 2024
    - 10.4K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/view/admin/dict/stopwords/admin_dict_stopwords.jsp

                                                <tbody>
                                                <c:forEach var="data" varStatus="s"
                                                           items="${stopwordsItemItems}">
                                                    <tr
                                                            data-href="${contextPath}/admin/dict/stopwords/details/${f:u(dictId)}/4/${f:u(data.id)}">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  10. docs/fr/docs/editor-support.md

    # Prise en charge des éditeurs { #editor-support }
    
    L’extension officielle [Extension FastAPI](https://marketplace.visualstudio.com/items?itemName=FastAPILabs.fastapi-vscode) améliore votre flux de développement FastAPI grâce à la découverte des chemins d'accès, à la navigation, ainsi qu’au déploiement sur FastAPI Cloud et à la diffusion en direct des journaux.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 2.9K bytes
    - Click Count (0)
Back to Top