Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,418 for exemple (0.05 sec)

  1. docs/en/docs/environment-variables.md

    ////
    
    ## Read env vars in Python { #read-env-vars-in-python }
    
    You could also create environment variables **outside** of Python, in the terminal (or with any other method), and then **read them in Python**.
    
    For example you could have a file `main.py` with:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/query-params.md

    For example, in the URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    ...the query parameters are:
    
    * `skip`: with a value of `0`
    * `limit`: with a value of `10`
    
    As they are part of the URL, they are "naturally" strings.
    
    But when you declare them with Python types (in the example above, as `int`), they are converted to that type and validated against it.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

        @Test
        @DisplayName("Should correctly initialize MsrpcSamrOpenAlias with provided parameters")
        void testConstructorInitialization() {
            // Given
            int access = 0x01; // Example access value
            int rid = 123; // Example RID value
    
            // When
            MsrpcSamrOpenAlias msrpcSamrOpenAlias = new MsrpcSamrOpenAlias(mockDomainHandle, access, rid, mockAliasHandle);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

       * header to create the request URL.
       *
       * For HTTP proxy requests this will be either an absolute-form string like
       * `http://example.com/index.html` (HTTP proxy) or an authority-form string like
       * `example.com:443` (HTTPS proxy).
       *
       * For OPTIONS requests, this may be an asterisk, `*`.
       */
      public val target: String,
      /** A string like `HTTP/1.1` or `HTTP/2`. */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 3.2K bytes
    - Viewed (1)
  5. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/self-referencing-classifier.xml

      <modelVersion>4.0.0</modelVersion>
      <groupId>com.example.group</groupId>
      <artifactId>testvalidpom</artifactId>
      <version>0.0.1-SNAPSHOT</version>
    
      <description>
        This will test if the module validator recognized that this dependency with classifier
        is not the same as the module itself.
      </description>
      <dependencies>
        <dependency>
          <groupId>com.example.group</groupId>
          <artifactId>testvalidpom</artifactId>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/self-referencing.xml

      <modelVersion>4.0.0</modelVersion>
      <groupId>com.example.group</groupId>
      <artifactId>testinvalidpom</artifactId>
      <version>0.0.1-SNAPSHOT</version>
    
      <description>
        This will test if the module validator recognized that this
        dependency is the same as the module itself.
      </description>
      <dependencies>
        <dependency>
          <groupId>com.example.group</groupId>
          <artifactId>testinvalidpom</artifactId>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/impl/AuthenticationImpl.java

     *
     * <p>
     * It includes constructors to initialize these details and getter and setter
     * methods to access and modify them.
     * </p>
     *
     * <p>
     * Example usage:
     * </p>
     * <pre>
     * {@code
     * AuthScope authScope = new AuthScope("example.com", 80);
     * Credentials credentials = new UsernamePasswordCredentials("user", "password");
     * AuthenticationImpl auth = new AuthenticationImpl(authScope, credentials);
     * }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/io/ContentCache.java

     * it returns a ByteArrayInputStream.
     *
     * <p>Example usage:
     * <pre>
     * {@code
     * // In-memory caching
     * byte[] data = "example data".getBytes();
     * try (ContentCache cache = new ContentCache(data)) {
     *     InputStream inputStream = cache.getInputStream();
     *     // Read from inputStream
     * }
     *
     * // File-based caching
     * File file = new File("example.txt");
     * try (ContentCache cache = new ContentCache(file)) {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_response_model/test_tutorial003.py

            json={
                "username": "foo",
                "password": "fighter",
                "email": "foo@example.com",
                "full_name": "Grave Dohl",
            },
        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "username": "foo",
            "email": "foo@example.com",
            "full_name": "Grave Dohl",
        }
    
    
    def test_openapi_schema(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. docs/uk/docs/tutorial/cors.md

    * `allow_origins` - Список джерел, яким дозволено здійснювати міждоменні запити.  Наприклад `['https://example.org', 'https://www.example.org']`. Ви можете використовувати ['*'], щоб дозволити всі джерела.
    * `allow_origin_regex` - Рядок регулярного виразу для відповідності джерелам, яким дозволено здійснювати міждоменні запити. Наприклад, `'https://.*\.example\.org'`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 30 13:34:34 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top