Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 243 for Color (0.01 sec)

  1. docs/de/docs/advanced/behind-a-proxy.md

    <div class="termy">
    
    ```console
    $ fastapi run --forwarded-allow-ips="*"
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    ### Weiterleitungen mit HTTPS { #redirects-with-https }
    
    Angenommen, Sie definieren eine *Pfadoperation* `/items/`:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilderFactory.java

     *
     * @since 4.0.0
     */
    @Experimental
    public interface MessageBuilderFactory extends Service {
        /**
         * Checks if the underlying output does support styling or not.
         * @return whether color styling is supported or not
         */
        boolean isColorEnabled();
    
        /**
         * Returns the terminal width or <code>-1</code> if not supported.
         * @return the terminal width
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Jan 08 10:37:09 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. docs/en/docs/_llm-test.md

    ```bash
    # Print a greeting to the universe
    echo "Hello universe"
    ```
    
    ...and a console code example...
    
    ```console
    $ <font color="#4E9A06">fastapi</font> run <u style="text-decoration-style:solid">main.py</u>
    <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting server
            Searching for package file structure
    ```
    
    ...and another console code example...
    
    ```console
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 14:48:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/behind-a-proxy.md

    本例中的 `Proxy` 是 **Traefik**,`server` 是运行 FastAPI 应用的 **Uvicorn**。
    
    ### 提供 `root_path`
    
    为此,要以如下方式使用命令行选项 `--root-path`:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Hypercorn 也支持 `--root-path `选项。
    
    /// note | 技术细节
    
    ASGI 规范定义的 `root_path` 就是为了这种用例。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            request = new CliRequest(new String[] {"-Dstyle.color=always"}, null);
            cli.cli(request);
            cli.properties(request);
            cli.logging(request);
            assertTrue(MessageUtils.isColorEnabled(), "Expected MessageUtils.isColorEnabled() to return true");
    
            MessageUtils.setColorEnabled(true);
            request = new CliRequest(new String[] {"-Dstyle.color=never"}, null);
            cli.cli(request);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  6. cmd/metacache-set.go

    func (er *erasureObjects) saveMetaCacheStream(ctx context.Context, mc *metaCacheRPC, entries <-chan metaCacheEntry) (err error) {
    	o := mc.o
    	o.debugf(color.Green("saveMetaCacheStream:")+" with options: %#v", o)
    
    	metaMu := &mc.mu
    	rpc := mc.rpc
    	cancel := mc.cancel
    	defer func() {
    		o.debugln(color.Green("saveMetaCacheStream:")+"err:", err)
    		if err != nil && !errors.Is(err, io.EOF) {
    			go mc.setErr(err.Error())
    			cancel()
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  7. internal/logger/logger.go

    		return fmt.Sprintf("msg: %s\n err:%s", introMsg, err)
    	}
    )
    
    // EnableQuiet - turns quiet option on.
    func EnableQuiet() {
    	color.TurnOff() // no colored outputs necessary in quiet mode.
    	quietFlag = true
    }
    
    // EnableJSON - outputs logs in json format.
    func EnableJSON() {
    	color.TurnOff() // no colored outputs necessary in JSON mode.
    	jsonFlag = true
    	quietFlag = true
    }
    
    // EnableAnonymous - turns anonymous flag
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. docs/es/docs/_llm-test.md

    ```bash
    # Imprime un saludo al universo
    echo "Hello universe"
    ```
    
    ...y un ejemplo de código de consola...
    
    ```console
    $ <font color="#4E9A06">fastapi</font> run <u style="text-decoration-style:solid">main.py</u>
    <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting server
            Searching for package file structure
    ```
    
    ...y otro ejemplo de código de consola...
    
    ```console
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:16:35 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. docs/es/docs/advanced/behind-a-proxy.md

    <div class="termy">
    
    ```console
    $ fastapi run --forwarded-allow-ips="*"
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    ### Redirecciones con HTTPS { #redirects-with-https }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. docs/ru/docs/how-to/conditional-openapi.md

    Далее вы можете отключить OpenAPI (включая интерфейсы документации), установив переменную окружения `OPENAPI_URL` в пустую строку, например:
    
    <div class="termy">
    
    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    После этого, если перейти по адресам `/openapi.json`, `/docs` или `/redoc`, вы получите ошибку `404 Not Found`, например:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top