Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 821 - 830 of 1,228 for itens (0.03 seconds)

  1. docs_src/dependencies/tutorial008d_an_py39.py

        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("We don't swallow the internal error here, we raise again 😎")
            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 734 bytes
    - Click Count (0)
  2. docs_src/dependencies/tutorial012_an_py39.py

            raise HTTPException(status_code=400, detail="X-Key header invalid")
        return x_key
    
    
    app = FastAPI(dependencies=[Depends(verify_token), Depends(verify_key)])
    
    
    @app.get("/items/")
    async def read_items():
        return [{"item": "Portal Gun"}, {"item": "Plumbus"}]
    
    
    @app.get("/users/")
    async def read_users():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 746 bytes
    - Click Count (0)
  3. docs_src/path_operation_configuration/tutorial004_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, summary="Create an item")
    async def create_item(item: Item):
        """
        Create an item with all the information:
    
        - **name**: each item must have a name
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 638 bytes
    - Click Count (0)
  4. src/main/webapp/css/style.css

    #result ol li {
    	margin: 1em 0;
    }
    
    #result ol li:first-child {
    	margin-top: 0;
    }
    
    #result .title a:visited {
    	color: #014c8c;
    }
    
    #result .body {
    	display: flex;
    	align-items: flex-start;
    }
    
    #result .site cite {
    	color: #093;
    	font-style: normal;
    }
    
    #result .more {
    	display: none;
    }
    
    #result .info {
    	font-size: 80%;
    }
    
    #result .url-copy {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. docs_src/handling_errors/tutorial006_py39.py

    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request, exc):
        print(f"OMG! The client sent invalid data!: {exc}")
        return await request_validation_exception_handler(request, exc)
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int):
        if item_id == 3:
            raise HTTPException(status_code=418, detail="Nope! I don't like 3.")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 928 bytes
    - Click Count (0)
  6. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java

            } catch (final Exception e) {
                fail("Should not throw exception for empty list: " + e.getMessage());
            }
    
            // Since no items were added, the pattern list should be empty
            final List<Pattern> patterns = urlFilterService.getIncludeUrlPatternList(sessionId);
            assertEquals(0, patterns.size());
        }
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  7. docs/fr/docs/advanced/additional-responses.md

                    "type": "object",
                    "properties": {
                        "loc": {
                            "title": "Location",
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        },
                        "msg": {
                            "title": "Message",
                            "type": "string"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

    import org.lastaflute.web.response.StreamResponse;
    
    import jakarta.annotation.Resource;
    
    /**
     * API action for admin Stopwords dictionary management.
     * Provides REST endpoints for managing stopwords dictionary items in the Fess search engine.
     */
    public class ApiAdminDictStopwordsAction extends FessApiAdminAction {
    
        /**
         * Default constructor.
         */
        public ApiAdminDictStopwordsAction() {
            super();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/metadata.md

        * `url` (**erforderlich**): ein `str` mit der URL für die externe Dokumentation.
    
    ### Metadaten für Tags erstellen { #create-metadata-for-tags }
    
    Versuchen wir es mit einem Beispiel mit Tags für `users` und `items`.
    
    Erstellen Sie Metadaten für Ihre Tags und übergeben Sie diese an den Parameter `openapi_tags`:
    
    {* ../../docs_src/metadata/tutorial004_py39.py hl[3:16,18] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/metadata.md

        * `url` (**requerido**): un `str` con la URL para la documentación externa.
    
    ### Crear metadata para etiquetas { #create-metadata-for-tags }
    
    Probemos eso en un ejemplo con etiquetas para `users` y `items`.
    
    Crea metadata para tus etiquetas y pásala al parámetro `openapi_tags`:
    
    {* ../../docs_src/metadata/tutorial004_py39.py hl[3:16,18] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top