- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for We (0.17 sec)
-
docs/en/docs/tutorial/sql-databases.md
Each instance of the `SessionLocal` class will be a database session. The class itself is not a database session yet. But once we create an instance of the `SessionLocal` class, this instance will be the actual database session. We name it `SessionLocal` to distinguish it from the `Session` we are importing from SQLAlchemy. We will use `Session` (the one imported from SQLAlchemy) later.
Plain Text - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 29.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
// If we are at a super-type constructor call, adjust the resolution expression so that we // get the constructor instead of the class. // // For the example: // // class A { // constructor() // } // class B: <caret>A() //
Plain Text - Registered: Fri Mar 22 08:18:09 GMT 2024 - Last Modified: Thu Mar 21 15:21:57 GMT 2024 - 37.3K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
So, if we create a Pydantic object `user_in` like: ```Python user_in = UserIn(username="john", password="secret", email="******@****.***") ``` and then we call: ```Python user_dict = user_in.dict() ``` we now have a `dict` with the data in the variable `user_dict` (it's a `dict` instead of a Pydantic model object). And if we call: ```Python print(user_dict) ```
Plain Text - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.7K bytes - Viewed (1) -
docs/en/docs/tutorial/response-model.md
Let's continue from the previous example. We wanted to **annotate the function with one type** but return something that includes **more data**. We want FastAPI to keep **filtering** the data using the response model. In the previous example, because the classes were different, we had to use the `response_model` parameter. But that also means that we don't get the support from the editor and tools checking the function return type.
Plain Text - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 17.9K bytes - Viewed (0) -
CONTRIBUTING.md
using a job called "copybara". **5. Copy to Google Internal codebase and run internal CI** - Once the PR is in the Google codebase, we make sure it integrates well with its dependencies and the rest of the system. - Rarely, If the tests fail at this stage, we cannot merge the code. - If needed, we may come to you to make some changes. At times, it may not be
Plain Text - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Mar 21 11:45:51 GMT 2024 - 15.6K bytes - Viewed (0) -
cmd/iam-store.go
} cache := store.lock() defer store.unlock() // We should only update the in-memory cache if there were no changes // to the in-memory cache since the disk loading began. If there // were changes to the in-memory cache we should wait for the next // cycle until we can safely update the in-memory cache. // // An in-memory cache must be replaced only if we know for sure that the
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Thu Mar 21 17:19:50 GMT 2024 - 73.2K bytes - Viewed (2) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
try { networkResponse = chain.proceed(networkRequest) } finally { // If we're crashing on I/O or otherwise, don't leak the cache body. if (networkResponse == null && cacheCandidate != null) { cacheCandidate.body.closeQuietly() } } // If we have a cache response too, then we're doing a conditional get. if (cacheResponse != null) {
Plain Text - Registered: Fri Mar 22 11:42:09 GMT 2024 - Last Modified: Fri Mar 22 07:09:21 GMT 2024 - 10.2K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
```Python hl_lines="14" {!> ../../../docs_src/body_nested_models/tutorial002.py!} ``` ## Set types But then we think about it, and realize that tags shouldn't repeat, they would probably be unique strings. And Python has a special data type for sets of unique items, the `set`. Then we can declare `tags` as a set of strings: === "Python 3.10+" ```Python hl_lines="12"
Plain Text - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.5K bytes - Viewed (0) -
common/scripts/setup_env.sh
# limitations under the License. set -e # https://stackoverflow.com/questions/59895/how-can-i-get-the-source-directory-of-a-bash-script-from-within-the-script-itsel # Note: the normal way we use in other scripts in Istio do not work when `source`d, which is why we use this approach SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) REPO_ROOT="$(dirname "$(dirname "${SCRIPT_DIR}")")" LOCAL_ARCH=$(uname -m)
Shell Script - Registered: Wed Mar 27 22:53:09 GMT 2024 - Last Modified: Mon Mar 25 22:19:51 GMT 2024 - 7.6K bytes - Viewed (0) -
.bazelrc
test:rbe_base --test_env=USER=anon # TODO(kanglan): Check if we want to merge rbe_linux into rbe_linux_cpu. build:rbe_linux --config=rbe_base build:rbe_linux --action_env=PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin" # Non-rbe settings we should include because we do not run configure build:rbe_linux --config=avx_linux # TODO(gunan): Check why we need this specified in rbe, but not in other builds.
Plain Text - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Fri Mar 22 20:10:22 GMT 2024 - 56.2K bytes - Viewed (2)