Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 146 for agenda (0.16 sec)

  1. docs/pt/docs/tutorial/header-params.md

    Portanto, você pode usar `user_agent` como faria normalmente no código Python, em vez de precisar colocar as primeiras letras em maiúsculas como `User_Agent` ou algo semelhante.
    
    Se por algum motivo você precisar desabilitar a conversão automática de sublinhados para hífens, defina o parâmetro `convert_underscores` de `Header` para `False`:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  2. .gitignore

    istio.VERSION
    LICENSES.txt
    # Proxy generated proxy config in integration test
    tests/integration/component/proxy/envoy.conf
    **/var/run/secrets/
    # Certs generated by testing
    security/cmd/node_agent/na/cert_file
    security/cmd/node_agent/na/pkey
    # istioctl bash completion file
    tools/istioctl.bash
    vendor
    # Contains the built artifacts
    out/
    etc/
    var/
    # Go compiled tests
    *.test
    # Profiles
    *.prof
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 14 16:23:45 GMT 2022
    - 1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_header_params/test_tutorial001.py

    
    @pytest.mark.parametrize(
        "path,headers,expected_status,expected_response",
        [
            ("/items", None, 200, {"User-Agent": "testclient"}),
            ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}),
            ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}),
        ],
    )
    def test(path, headers, expected_status, expected_response):
        response = client.get(path, headers=headers)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/path-params-numeric-validations.md

    ## Ordene os parâmetros de acordo com sua necessidade
    
    Suponha que você queira declarar o parâmetro de consulta `q` como uma `str` obrigatória.
    
    E você não precisa declarar mais nada em relação a este parâmetro, então você não precisa necessariamente usar `Query`.
    
    Mas você ainda precisa usar `Path` para o parâmetro de rota `item_id`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_header_params/test_tutorial001_py310.py

    @needs_py310
    @pytest.mark.parametrize(
        "path,headers,expected_status,expected_response",
        [
            ("/items", None, 200, {"User-Agent": "testclient"}),
            ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}),
            ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}),
        ],
    )
    def test(path, headers, expected_status, expected_response, client: TestClient):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4K bytes
    - Viewed (0)
  6. docs_src/header_params/tutorial001_an.py

    from typing import Union
    
    from fastapi import FastAPI, Header
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(user_agent: Annotated[Union[str, None], Header()] = None):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 259 bytes
    - Viewed (0)
  7. logger/logger.go

    		warnStr = BlueBold + "%s\n" + Reset + Magenta + "[warn] " + Reset
    		errStr = Magenta + "%s\n" + Reset + Red + "[error] " + Reset
    		traceStr = Green + "%s\n" + Reset + Yellow + "[%.3fms] " + BlueBold + "[rows:%v]" + Reset + " %s"
    		traceWarnStr = Green + "%s " + Yellow + "%s\n" + Reset + RedBold + "[%.3fms] " + Yellow + "[rows:%v]" + Magenta + " %s" + Reset
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Nov 07 02:19:41 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  8. docs/features/interceptors.md

    OkHttpClient client = new OkHttpClient.Builder()
        .addInterceptor(new LoggingInterceptor())
        .build();
    
    Request request = new Request.Builder()
        .url("http://www.publicobject.com/helloworld.txt")
        .header("User-Agent", "OkHttp Example")
        .build();
    
    Response response = client.newCall(request).execute();
    response.body().close();
    ```
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/sds/util.go

    // SecretItemDiff represents a secret that has been diffed between nodeagent and proxy
    type SecretItemDiff struct {
    	Agent string `json:"agent"`
    	Proxy string `json:"proxy"`
    	SecretItem
    }
    
    // SecretItem is an intermediate representation of secrets, used to provide a common
    // format between the envoy proxy secrets and node agent output which can be diffed
    type SecretItem struct {
    	Name        string `json:"resource_name"`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/model/GradleDistribution.kt

            }
    
        @get:Classpath
        val coreJars: SortedSet<File>
            get() = filesIn("lib/*.jar")
    
        @get:Classpath
        val agentJars: SortedSet<File>
            get() = filesIn("lib/agents/*.jar")
    
        @get:Classpath
        val pluginJars: SortedSet<File>
            get() = filesIn("lib/plugins/*.jar")
    
        private
        fun filesIn(glob: String) = gradleHomeDir.asFileTree.matching {
            include(glob)
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Dec 16 19:35:39 GMT 2022
    - 1.8K bytes
    - Viewed (0)
Back to top