- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 713 for sekund (0.1 sec)
-
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py310.py
from docs_src.background_tasks.tutorial002_an_py310 import app client = TestClient(app) log = Path("log.txt") if log.is_file(): os.remove(log) # pragma: no cover response = client.post("/send-notification/******@****.***?q=some-query") assert response.status_code == 200, response.text assert response.json() == {"message": "Message sent"} with open("./log.txt") as f:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 631 bytes - Viewed (0) -
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py39.py
from docs_src.background_tasks.tutorial002_an_py39 import app client = TestClient(app) log = Path("log.txt") if log.is_file(): os.remove(log) # pragma: no cover response = client.post("/send-notification/******@****.***?q=some-query") assert response.status_code == 200, response.text assert response.json() == {"message": "Message sent"} with open("./log.txt") as f:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 628 bytes - Viewed (0) -
fastapi/background.py
def write_notification(email: str, message=""): with open("log.txt", mode="w") as email_file: content = f"notification for {email}: {message}" email_file.write(content) @app.post("/send-notification/{email}") async def send_notification(email: str, background_tasks: BackgroundTasks): background_tasks.add_task(write_notification, email, message="some notification")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 1.7K bytes - Viewed (0) -
internal/event/target/nats.go
} if err := target.init(); err != nil { return err } _, err := target.isActive() if err != nil { return err } return target.send(eventData) } // send - sends an event to the Nats. func (target *NATSTarget) send(eventData event.Event) error { objectName, err := url.QueryUnescape(eventData.S3.Object.Key) if err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 12.9K bytes - Viewed (0) -
architecture/security/istio-agent.md
at two levels. For distributing workload certificates, Envoy will send [SDS](https://www.envoyproxy.io/docs/envoy/latest/configuration/security/secret) requests to the agent, causing the agent to submit a CSR to the configured CA (generally Istiod). For other configuration, Envoy will send [ADS](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/operations/dynamic_configuration#aggregated-xds-ads)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 18 23:11:18 UTC 2024 - 7.2K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
cal.set(Calendar.AM_PM, Calendar.AM); // just to make sure all the bases are covered... cal.set(Calendar.HOUR_OF_DAY, 0); cal.set(Calendar.MINUTE, 16); cal.set(Calendar.SECOND, 0); cal.set(Calendar.YEAR, 1976); cal.set(Calendar.MONTH, Calendar.NOVEMBER); cal.set(Calendar.DATE, 11); Date firstTestDate = cal.getTime();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.2K bytes - Viewed (0) -
cmd/auth-handler_test.go
if err != nil { t.Fatalf("unable create credential, %s", err) } globalActiveCred = creds globalIAMSys.Init(ctx, objLayer, globalEtcdClient, 2*time.Second) // List of test cases for validating http request authentication. testCases := []struct { req *http.Request s3Error APIErrorCode }{ // When request is unsigned, access denied is returned.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.4K bytes - Viewed (0) -
docs/sts/tls.md
``` ## Example MinIO exposes a custom S3 STS API endpoint as `Action=AssumeRoleWithCertificate`. A client has to send an HTTP `POST` request to `https://<host>:<port>?Action=AssumeRoleWithCertificate&Version=2011-06-15`. Since the authentication and authorization happens via X.509 certificates the client has to send the request over **TLS** and has to provide a client certificate.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 29 04:28:45 UTC 2022 - 6K bytes - Viewed (1) -
ISSUES.md
If you open a GitHub Issue, here is our policy: 1. It must be a bug/performance issue or a feature request or a build issue or a documentation issue (for small doc fixes please send a PR instead). 1. Make sure the Issue Template is filled out. 1. The issue should be related to the repo it is created in. **Here's why we have this policy:** We want to focus on the work that benefits the whole community, e.g., fixing bugs and adding features. Individual support
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Feb 11 22:37:27 UTC 2021 - 606 bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
// ignore } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlock#setUid(int) */ @Override public void setUid ( int uid ) { // ignore } /** * @return the flags */ public final int getFlags () { return this.flags; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Sep 30 10:47:31 UTC 2018 - 19.9K bytes - Viewed (0)