Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 593 for tag4 (0.01 seconds)

  1. docs/pt/docs/tutorial/body-nested-models.md

    Use a mesma sintaxe padrão para atributos de modelo com tipos internos.
    
    Portanto, em nosso exemplo, podemos fazer com que `tags` sejam especificamente uma "lista de strings":
    
    {* ../../docs_src/body_nested_models/tutorial002_py310.py hl[12] *}
    
    ## Tipos "set" { #set-types }
    
    Mas então, quando nós pensamos mais, percebemos que as tags não devem se repetir, elas provavelmente devem ser strings únicas.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_generate_clients/test_tutorial003.py

        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/": {
                    "get": {
                        "tags": ["items"],
                        "summary": "Get Items",
                        "operationId": "items-get_items",
                        "responses": {
                            "200": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. internal/bucket/lifecycle/lifecycle.go

    			if lc.Rules[i].ID == otherRule.ID {
    				return errLifecycleDuplicateID
    			}
    		}
    	}
    	return nil
    }
    
    // FilterRules returns the rules filtered by the status, prefix and tags
    func (lc Lifecycle) FilterRules(obj ObjectOpts) []Rule {
    	if obj.Name == "" {
    		return nil
    	}
    	var rules []Rule
    	for _, rule := range lc.Rules {
    		if rule.Status == Disabled {
    			continue
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Apr 03 06:45:06 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  4. docs_src/body_nested_models/tutorial001_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: list = []
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 364 bytes
    - Click Count (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.private-javadoc.gradle.kts

            // - reference: We allow references to classes that are not part of the compilation
            addBooleanOption("Xdoclint:all,-missing,-reference", true)
    
            // Add support for custom tags
            tags("apiNote:a:API Note:", "implSpec:a:Implementation Requirements:", "implNote:a:Implementation Note:")
    
            // Process all source files for valid javadoc, not just public ones
            addBooleanOption("private", true)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 20 14:11:17 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. docs_src/body_nested_models/tutorial003_py39.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 409 bytes
    - Click Count (0)
  7. docs_src/query_param_models/tutorial001_an_py39.py

    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 443 bytes
    - Click Count (0)
  8. docs_src/query_param_models/tutorial002_py39.py

    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: FilterParams = Query()):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 462 bytes
    - Click Count (0)
  9. cmd/data-scanner.go

    		traceFn(ILMExpiry, nil, err)
    		return false
    	}
    	if dobj.Name == "" {
    		dobj = obj
    	}
    
    	tags := newLifecycleAuditEvent(src, lcEvent).Tags()
    	tags["version-id"] = dobj.VersionID
    
    	// Send audit for the lifecycle delete operation
    	auditLogLifecycle(ctx, dobj, ILMExpiry, tags, traceFn)
    
    	eventName := event.ObjectRemovedDelete
    	if obj.DeleteMarker {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
  10. ci/official/envs/installer_wheel_tensorflow_cpu

    # ==============================================================================
    TFCI_INSTALLER_WHL_ENABLE=1
    TFCI_INSTALLER_WHL_PROJECT_NAME="tensorflow_cpu"
    TFCI_INSTALLER_WHL_NIGHTLY_PROJECT_NAME="tf_nightly_cpu"
    # Supported wheel tags are stored as strings in TFCI_INSTALLER_WHL_TAGS
    # separated by spaces.
    TFCI_INSTALLER_WHL_TAGS="cp39-cp39-win_amd64 cp310-cp310-win_amd64 cp311-cp311-win_amd64 cp312-cp312-win_amd64"
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Jul 26 14:26:18 GMT 2024
    - 1K bytes
    - Click Count (0)
Back to Top