Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for shortcut (0.18 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        }
    
        @Nonnull
        @Override
        public Collection<Listener> getListeners() {
            return Collections.unmodifiableCollection(listeners);
        }
    
        //
        // Shortcut implementations
        //
    
        /**
         * Shortcut for <code>getService(RepositoryFactory.class).createLocal(...)</code>
         *
         * @see RepositoryFactory#createLocal(Path)
         */
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 27.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    <img src="/img/tutorial/dependencies/image02.png">
    
    ## Shortcut
    
    But you see that we are having some code repetition here, writing `CommonQueryParams` twice:
    
    === "Python 3.8+"
    
        ```Python
        commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  3. fastapi/openapi/docs.py

            current_swagger_ui_parameters.update(swagger_ui_parameters)
    
        html = f"""
        <!DOCTYPE html>
        <html>
        <head>
        <link type="text/css" rel="stylesheet" href="{swagger_css_url}">
        <link rel="shortcut icon" href="{swagger_favicon_url}">
        <title>{title}</title>
        </head>
        <body>
        <div id="swagger-ui">
        </div>
        <script src="{swagger_js_url}"></script>
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/response-model.md

    They take a `set` of `str` with the name of the attributes to include (omitting the rest) or to exclude (including the rest).
    
    This can be used as a quick shortcut if you have only one Pydantic model and want to remove some data from the output.
    
    !!! tip
        But it is still recommended to use the ideas above, using multiple classes, instead of these parameters.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  5. docs/en/docs/python-types.md

    Using `Optional[str]` instead of just `str` will let the editor help you detecting errors where you could be assuming that a value is always a `str`, when it could actually be `None` too.
    
    `Optional[Something]` is actually a shortcut for `Union[Something, None]`, they are equivalent.
    
    This also means that in Python 3.10, you can use `Something | None`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="1"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2.go

    	for {
    		// Step 1 create slice with all top versions.
    		tops = tops[:0]
    		var topSig xlMetaV2VersionHeader
    		consistent := true // Are all signatures consistent (shortcut)
    		for _, vers := range versions {
    			if len(vers) == 0 {
    				consistent = false
    				continue
    			}
    			ver := vers[0]
    			if len(tops) == 0 {
    				consistent = true
    				topSig = ver.header
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  7. cmd/erasure-server-pool.go

    		Limit:       maxKeysPlusOne(maxKeys, marker != ""),
    		Marker:      marker,
    		InclDeleted: true,
    		AskDisks:    globalAPIConfig.getListQuorum(),
    		Versioned:   true,
    	}
    
    	// Shortcut for APN/1.0 Veeam/1.0 Backup/10.0
    	// It requests unique blocks with a specific prefix.
    	// We skip scanning the parent directory for
    	// more objects matching the prefix.
    	ri := logger.GetReqInfo(ctx)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 77.8K bytes
    - Viewed (0)
Back to top