- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 979 for Funktion (0.06 seconds)
-
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
The key factor is that a dependency should be a "callable". A "**callable**" in Python is anything that Python can "call" like a function. So, if you have an object `something` (that might _not_ be a function) and you can "call" it (execute it) like: ```Python something() ``` or ```Python something(some_argument, some_keyword_argument="foo") ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
*/ fun <T : Any> tag( type: KClass<T>, computeIfAbsent: () -> T, ): T /** * Returns the tag attached with [type] as a key. If it is absent, then [computeIfAbsent] is * called and that value is both inserted and returned. * * If multiple calls to this function are made concurrently with the same [type], multiple values
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 6.8K bytes - Click Count (0) -
buildscripts/multipart-quorum-test.sh
exit 1 fi trap 'catch $LINENO' ERR function purge() { rm -rf "$1" } # shellcheck disable=SC2120 catch() { if [ $# -ne 0 ]; then echo "error on line $1" fi echo "Cleaning up instances of MinIO" pkill minio || true pkill -9 minio || true purge "$WORK_DIR" if [ $# -ne 0 ]; then exit $# fi } catch function start_minio_10drive() { start_port=$1
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 10:51:23 GMT 2024 - 2.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java
import me.champeau.gradle.japicmp.report.ViolationCheckContext; import java.util.AbstractMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.function.Function; import java.util.stream.Collectors; import java.util.stream.Stream; import static gradlebuild.binarycompatibility.upgrades.UpgradedProperties.CURRENT_ACCESSORS_OF_UPGRADED_PROPERTIES;
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Aug 19 15:30:48 GMT 2024 - 4.5K bytes - Click Count (0) -
docs/en/docs/reference/background.md
# Background Tasks - `BackgroundTasks` You can declare a parameter in a *path operation function* or dependency function with the type `BackgroundTasks`, and then you can use it to schedule the execution of background tasks after the response is sent. You can import it directly from `fastapi`: ```python from fastapi import BackgroundTasks ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 377 bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
assertEquals(smbComNtTransaction.setupCount, dst[35], "setupCount should be written correctly"); assertEquals(smbComNtTransaction.function, SmbComTransaction.readInt2(dst, 36), "function should be written correctly"); } @Test void testWriteParameterWordsWireFormat_SecondaryTransaction() { // Test the writeParameterWordsWireFormat for a secondary transaction.
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
docs_src/websockets/tutorial002_an_py39.py
</ul> <script> var ws = null; function connect(event) { var itemId = document.getElementById("itemId") var token = document.getElementById("token") ws = new WebSocket("ws://localhost:8000/items/" + itemId.value + "/ws?token=" + token.value); ws.onmessage = function(event) { var messages = document.getElementById('messages')Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 2.8K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
} } /** * Gets the content of the response using the provided parser function. * * @param <T> the type of the parsed content. * @param parser the function to parse the content. * @return the parsed content. */ public <T> T getContent(final Function<CurlResponse, T> parser) { return parser.apply(this); } /**Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Mon Nov 24 03:10:07 GMT 2025 - 7K bytes - Click Count (0) -
fastapi/datastructures.py
class UploadFile(StarletteUploadFile): """ A file uploaded in a request. Define it as a *path operation function* (or dependency) parameter. If you are using a regular `def` function, you can use the `upload_file.file` attribute to access the raw standard Python file (blocking, not async), useful and needed for non-async code. Read more about it in the
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 5.1K bytes - Click Count (0) -
internal/logger/target/testlogger/testlogger.go
action atomic.Int32 } // SetLogTB will set the logger to output to tb. // Call the returned function to disable logging. func (t *testLogger) SetLogTB(tb testing.TB) func() { return t.setTB(tb, logMessage) } // SetErrorTB will set the logger to output to tb.Error. // Call the returned function to disable logging. func (t *testLogger) SetErrorTB(tb testing.TB) func() { return t.setTB(tb, errorMessage) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4K bytes - Click Count (0)