Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,859 for creat (0.05 sec)

  1. docs/en/docs/tutorial/security/oauth2-jwt.md

    </div>
    
    And copy the output to the variable `SECRET_KEY` (don't use the one in the example).
    
    Create a variable `ALGORITHM` with the algorithm used to sign the JWT token and set it to `"HS256"`.
    
    Create a variable for the expiration of the token.
    
    Define a Pydantic Model that will be used in the token endpoint for the response.
    
    Create a utility function to generate a new access token.
    
    === "Python 3.10+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/sql-databases-peewee.md

    And now in the file `sql_app/main.py` let's integrate and use all the other parts we created before.
    
    ### Create the database tables
    
    In a very simplistic way create the database tables:
    
    ```Python hl_lines="9-11"
    {!../../../docs_src/sql_databases_peewee/sql_app/main.py!}
    ```
    
    ### Create a dependency
    
    Create a dependency that will connect the database right at the beginning of a request and disconnect it at the end:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 16 13:23:25 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. pkg/controller/daemon/update.go

    		return dsc.syncNodes(ctx, ds, oldPodsToDelete, nil, hash)
    	}
    
    	// When surging, we create new pods whenever an old pod is unavailable, and we can create up
    	// to maxSurge extra pods
    	//
    	// Assumptions:
    	// * Expect manage loop to allow no more than two pods per node, one old, one new
    	// * Expect manage loop will create new pods if there are no pods on node
    	// * Expect manage loop will handle failed pods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt

     * share the same [Address] may share a [Connection]. This class implements the policy
     * of which connections to keep open for future use.
     *
     * @constructor Create a new connection pool with tuning parameters appropriate for a single-user
     * application. The tuning parameters in this pool are subject to change in future OkHttp releases.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 03 20:39:41 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/first-steps.md

    This parameter doesn't create that endpoint / *path operation*, but declares that the URL `/token` will be the one that the client should use to get the token. That information is used in OpenAPI, and then in the interactive API documentation systems.
    
    We will soon also create the actual path operation.
    
    !!! info
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jun 03 01:48:20 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/path-params.md

    ### Crea una clase `Enum`
    
    Importa `Enum` y crea una sub-clase que herede desde `str` y desde `Enum`.
    
    Al heredar desde `str` la documentación de la API podrá saber que los valores deben ser de tipo `string` y podrá mostrarlos correctamente.
    
    Luego crea atributos de clase con valores fijos, que serán los valores disponibles válidos:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

                ContiguousSet.create(Range.closed(1, 3), integers()),
                ContiguousSet.closed(1, 3),
                ContiguousSet.create(Range.closedOpen(1, 4), integers()),
                ContiguousSet.closedOpen(1, 4),
                ContiguousSet.create(Range.openClosed(0, 3), integers()),
                ContiguousSet.create(Range.open(0, 4), integers()),
                ContiguousSet.create(Range.closed(1, 3), NOT_EQUAL_TO_INTEGERS),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultisetsTest.java

        Multiset<String> ms1 = HashMultiset.create();
        Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a"));
        assertEquals(ms2, Multisets.union(ms1, ms2));
      }
    
      public void testUnionNonemptyEmpty() {
        Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a"));
        Multiset<String> ms2 = HashMultiset.create();
        assertEquals(ms1, Multisets.union(ms1, ms2));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      /** Creates an {@code AtomicLongMap}. */
      public static <K> AtomicLongMap<K> create() {
        return new AtomicLongMap<>(new ConcurrentHashMap<>());
      }
    
      /** Creates an {@code AtomicLongMap} with the same mappings as the specified {@code Map}. */
      public static <K> AtomicLongMap<K> create(Map<? extends K, ? extends Long> m) {
        AtomicLongMap<K> result = create();
        result.putAll(m);
        return result;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy

            container.create(name: "task")
    
            then:
            def e = thrown(GradleException)
            e.message == "Could not create task ':project:task'."
            e.cause == failure
        }
    
        void "create wraps task creation failure"() {
            given:
            def failure = new RuntimeException()
    
            taskFactory.create(_ as TaskIdentity) >> { throw failure }
    
            when:
            container.create("task")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 14:36:44 UTC 2024
    - 44.9K bytes
    - Viewed (0)
Back to top