- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 22 for rstrip (0.06 seconds)
-
scripts/doc_parsing_utils.py
if match: code = match.group("code").rstrip() comment = match.group("comment") return code, comment return line.rstrip(), None def _split_slashes_comment(line: str) -> tuple[str, str | None]: match = SLASHES_COMMENT_RE.match(line) if match: code = match.group("code").rstrip() comment = match.group("comment") return code, commentCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:37:41 GMT 2026 - 23.5K bytes - Click Count (0) -
fastapi/applications.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 178.6K bytes - Click Count (0) -
fastapi/routing.py
else EndpointContext() ) if dependant.path: # For mounted sub-apps, include the mount path prefix mount_path = request.scope.get("root_path", "").rstrip("/") endpoint_ctx["path"] = f"{request.method} {mount_path}{dependant.path}" # Read body and auto-close files try: body: Any = None if body_field:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 193K bytes - Click Count (0) -
.github/workflows/maven.yml
mv "maven-local/$MAVEN_DIR"/* maven-local/ rm -r "maven-local/$MAVEN_DIR" else tar xzf maven-dist/apache-maven-*-bin.tar.gz -C maven-local --strip-components 1 fi echo "MAVEN_HOME=$PWD/maven-local" >> $GITHUB_ENV echo "$PWD/maven-local/bin" >> $GITHUB_PATH - name: Build with downloaded Maven shell: bash
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Mar 24 08:21:28 GMT 2026 - 12.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
/** * Unit test for {@link Resources}. * * @author Chris Nokleberg */ @NullUnmarked public class ResourcesTest extends IoTestCase { @AndroidIncompatible // wouldn't run anyway, but strip the source entirely because of b/230620681 public static TestSuite suite() { TestSuite suite = new TestSuite(); suite.addTest( ByteSourceTester.tests(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
/** * Unit test for {@link Resources}. * * @author Chris Nokleberg */ @NullUnmarked public class ResourcesTest extends IoTestCase { @AndroidIncompatible // wouldn't run anyway, but strip the source entirely because of b/230620681 public static TestSuite suite() { TestSuite suite = new TestSuite(); suite.addTest( ByteSourceTester.tests(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
observed.add(object); } assertTrue("All stripes observed", observed.size() == striped.size()); // this uses #get(key), makes sure an already observed stripe is returned for (int i = 0; i < striped.size() * 100; i++) { assertTrue(observed.contains(striped.get(new Object()))); } try { striped.getAt(-1); fail();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
observed.add(object); } assertTrue("All stripes observed", observed.size() == striped.size()); // this uses #get(key), makes sure an already observed stripe is returned for (int i = 0; i < striped.size() * 100; i++) { assertTrue(observed.contains(striped.get(new Object()))); } try { striped.getAt(-1); fail();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
scripts/translate.py
for attempt_no in range(1, MAX_ATTEMPTS + 1): print(f"Running agent for {out_path} (attempt {attempt_no}/{MAX_ATTEMPTS})") result = agent.run_sync(prompt) out_content = f"{result.output.strip()}\n" try: check_translation( doc_lines=out_content.splitlines(), en_doc_lines=original_content.splitlines(), lang_code=language,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:37:41 GMT 2026 - 15.8K bytes - Click Count (0) -
docs/tr/docs/advanced/behind-a-proxy.md
{* ../../docs_src/behind_a_proxy/tutorial001_py310.py hl[6] *} Proxy, request'i app server'a (muhtemelen FastAPI CLI üzerinden Uvicorn) iletmeden önce **path prefix**'i anlık olarak **"kırpar"** (strip). Böylece uygulamanız hâlâ `/app` altında servis ediliyormuş gibi davranır ve tüm kodunuzu `/api/v1` prefix'ini içerecek şekilde güncellemeniz gerekmez. Buraya kadar her şey normal çalışır.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 16.5K bytes - Click Count (0)