- Sort Score
- Num 10 results
- Language All
Results 1151 - 1160 of 1,501 for line (0.01 seconds)
-
docs/en/docs/tutorial/header-param-models.md
For example, if you have a header parameter `save_data` in the code, the expected HTTP header will be `save-data`, and it will show up like that in the docs. If for some reason you need to disable this automatic conversion, you can do it as well for Pydantic models for header parameters. {* ../../docs_src/header_param_models/tutorial003_an_py310.py hl[19] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.6K bytes - Click Count (0) -
docs_src/security/tutorial004_an_py310.py
from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm from jwt.exceptions import InvalidTokenError from pwdlib import PasswordHash from pydantic import BaseModel # to get a string like this run: # openssl rand -hex 32 SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7" ALGORITHM = "HS256" ACCESS_TOKEN_EXPIRE_MINUTES = 30 fake_users_db = { "johndoe": {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 4.2K bytes - Click Count (0) -
cmd/config-dir.go
} // Attempts to create all directories, ignores any permission denied errors. func mkdirAllIgnorePerm(path string) error { err := os.MkdirAll(path, 0o700) if err != nil { // It is possible in kubernetes like deployments this directory // is already mounted and is not writable, ignore any write errors. if osIsPermission(err) { err = nil } } return err } func getConfigFile() string {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 3K bytes - Click Count (0) -
lib/hg/goreposum.py
# we will avoid re-cloning a server when there have been no # changes at all. # # Separately, this extension also adds a 'golookup' command that # returns the hash of a specific reference, like 'default' or a tag. # And golookup of a hash confirms that it still exists on the server. # We can use that to revalidate that specific versions still exist and # have the same meaning they did the last time we checked. #
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Nov 11 15:21:02 GMT 2025 - 2.4K bytes - Click Count (0) -
guava/src/com/google/common/base/Optional.java
/** * Returns the contained instance, which must be present. If the instance might be absent, use * {@link #or(Object)} or {@link #orNull} instead. * * <p><b>Comparison to {@code java.util.Optional}:</b> when the value is absent, this method * throws {@link IllegalStateException}, whereas the {@code java.util} counterpart throws {@link * java.util.NoSuchElementException NoSuchElementException}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt
result = 31 * result + proxy.hashCode() result = 31 * result + socketAddress.hashCode() return result } /** * Returns a string with the URL hostname, socket IP address, and socket port, like one of these: * * * `example.com:80 at 1.2.3.4:8888` * * `example.com:443 via proxy [::1]:8888` * * This omits duplicate information when possible. */ override fun toString(): String =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava/src/com/google/common/base/NullnessCasts.java
* ParametricNullness parametric nullness}. If a type parameter instead ranges over only non-null * types (or if the type is a non-variable type, like {@code String}), then code should almost * never use this method, preferring instead to call {@code requireNonNull} so as to benefit from * its runtime check. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.3K bytes - Click Count (0) -
guava/src/com/google/common/base/NullnessCasts.java
* ParametricNullness parametric nullness}. If a type parameter instead ranges over only non-null * types (or if the type is a non-variable type, like {@code String}), then code should almost * never use this method, preferring instead to call {@code requireNonNull} so as to benefit from * its runtime check. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.3K bytes - Click Count (0) -
docs_src/security/tutorial005_py310.py
OAuth2PasswordRequestForm, SecurityScopes, ) from jwt.exceptions import InvalidTokenError from pwdlib import PasswordHash from pydantic import BaseModel, ValidationError # to get a string like this run: # openssl rand -hex 32 SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7" ALGORITHM = "HS256" ACCESS_TOKEN_EXPIRE_MINUTES = 30 fake_users_db = { "johndoe": {Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 5.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
import java.util.List; import java.util.regex.Pattern; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link Doubles}. * * @author Kevin Bourrillion */ @NullMarked @GwtCompatible public class DoublesTest extends TestCase { private static final double[] EMPTY = {}; private static final double[] ARRAY1 = {1.0};Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 30.9K bytes - Click Count (0)