- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 393 for raises (0.09 sec)
-
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy
* limitations under the License. */ package gradlebuild.binarycompatibility import spock.lang.Specification class AcceptedApiChangesTest extends Specification { def "parses accepted change"() { when: def changes = AcceptedApiChanges.parse([""" { "acceptedApiChanges": [ {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 3.8K bytes - Viewed (0) -
fastapi/concurrency.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Dec 25 17:57:35 UTC 2023 - 1.4K bytes - Viewed (0) -
docs/en/docs/reference/websockets.md
- iter_bytes - iter_json - send_text - send_bytes - send_json - close When a client disconnects, a `WebSocketDisconnect` exception is raised, you can catch it. You can import it directly form `fastapi`: ```python from fastapi import WebSocketDisconnect ``` ::: fastapi.WebSocketDisconnect ## WebSockets - additional classes
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 1.7K bytes - Viewed (0) -
docs/sts/client_grants/__init__.py
preload_content=True, ) if response.status != 200: message = "Credential refresh failed, response: %s" raise CredentialRetrievalError( provider=method, error_msg=message % response.status, ) creds = json.loads(response.data) query = {}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
stop(); join(); if (uncaughtThrowable != null) { throw new AssertionError("Uncaught throwable in " + getName(), uncaughtThrowable); } } /** * Causes this thread to call the named void method, and asserts that the call returns normally. */ public void callAndAssertReturns(String methodName, Object... arguments) throws Exception { checkNotNull(methodName); checkNotNull(arguments);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 10.7K bytes - Viewed (0) -
bin/diff_yaml.py
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Mar 03 16:14:57 UTC 2021 - 4.5K bytes - Viewed (0) -
docs_src/security/tutorial007_an.py
correct_password_bytes = b"swordfish" is_correct_password = secrets.compare_digest( current_password_bytes, correct_password_bytes ) if not (is_correct_username and is_correct_password): raise HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Incorrect username or password", headers={"WWW-Authenticate": "Basic"}, ) return credentials.username
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 1.2K bytes - Viewed (0) -
fastapi/security/api_key.py
async def __call__(self, request: Request) -> Optional[str]: api_key = request.query_params.get(self.model.name) if not api_key: if self.auto_error: raise HTTPException( status_code=HTTP_403_FORBIDDEN, detail="Not authenticated" ) else: return None return api_key
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Apr 23 22:29:18 UTC 2024 - 9.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java
/** * Service interface to parse {@link Version} and {@link VersionRange}. * * @since 4.0.0 */ @Experimental public interface VersionParser extends Service { /** * Parses the specified version string, for example "1.0". * * @param version the version string to parse, must not be {@code null} * @return the parsed version, never {@code null}
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Dec 19 19:08:55 UTC 2023 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/FileNotifyInformation.java
/** * Any file name change in the watched directory or subtree causes a change notification wait operation to return. * Changes include renaming, creating, or deleting a file. */ public static final int FILE_NOTIFY_CHANGE_FILE_NAME = 0x00000001; /** * Any directory-name change in the watched directory or subtree causes a change notification wait operation to
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.9K bytes - Viewed (0)