- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 201 for Moutier (0.22 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirNonStaticMembersScope.kt
* * Inner classes are included because they are accessible from a value of the outer class. For example: * * ``` * class Outer { * inner class Inner * } * * fun foo() { * val outer = Outer() * outer.Inner() * } * ``` * * While Kotlin always expects a constructor call when accessing `outer.Inner`, it nonetheless requires inner classes to be contained in * non-static scopes. */
Plain Text - Registered: Fri Mar 22 08:18:09 GMT 2024 - Last Modified: Tue Oct 10 13:38:00 GMT 2023 - 2.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
protected Queue<String> create() { TestQueue<String> inner = new TestQueue<>(); Queue<String> outer = Synchronized.queue(inner, null); inner.mutex = outer; outer.add("foo"); // necessary because we try to remove elements later on return outer; } private static final class TestQueue<E> implements Queue<E> { private final Queue<E> delegate = Lists.newLinkedList();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 4.7K bytes - Viewed (0) -
tests/test_modules_same_name_body/app/main.py
from fastapi import FastAPI from . import a, b app = FastAPI() app.include_router(a.router, prefix="/a")
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 28 17:35:16 GMT 2019 - 150 bytes - Viewed (0) -
docs_src/bigger_applications/app/routers/users.py
from fastapi import APIRouter router = APIRouter() @router.get("/users/", tags=["users"]) async def read_users(): return [{"username": "Rick"}, {"username": "Morty"}] @router.get("/users/me", tags=["users"]) async def read_user_me(): return {"username": "fakecurrentuser"} @router.get("/users/{username}", tags=["users"]) async def read_user(username: str):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Nov 29 17:32:18 GMT 2020 - 407 bytes - Viewed (0) -
docs_src/bigger_applications/app_an/routers/users.py
from fastapi import APIRouter router = APIRouter() @router.get("/users/", tags=["users"]) async def read_users(): return [{"username": "Rick"}, {"username": "Morty"}] @router.get("/users/me", tags=["users"]) async def read_user_me(): return {"username": "fakecurrentuser"} @router.get("/users/{username}", tags=["users"]) async def read_user(username: str):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 407 bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial003.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 1K bytes - Viewed (0) -
docs/em/docs/tutorial/bigger-applications.md
### ❎ 📛 💥 👥 🏭 🔁 `items` 🔗, ↩️ 🏭 🚮 🔢 `router`. 👉 ↩️ 👥 ✔️ ➕1️⃣ 🔢 📛 `router` 🔁 `users`. 🚥 👥 ✔️ 🗄 1️⃣ ⏮️ 🎏, 💖: ```Python from .routers.items import router from .routers.users import router ``` `router` ⚪️➡️ `users` 🔜 📁 1️⃣ ⚪️➡️ `items` & 👥 🚫🔜 💪 ⚙️ 👫 🎏 🕰. , 💪 ⚙️ 👯♂️ 👫 🎏 📁, 👥 🗄 🔁 🔗:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 15.6K bytes - Viewed (0) -
docs_src/openapi_callbacks/tutorial001.py
class InvoiceEventReceived(BaseModel): ok: bool invoices_callback_router = APIRouter() @invoices_callback_router.post( "{$callback_url}/invoices/{$request.body.id}", response_model=InvoiceEventReceived ) def invoice_notification(body: InvoiceEvent): pass @app.post("/invoices/", callbacks=invoices_callback_router.routes) def create_invoice(invoice: Invoice, callback_url: Union[HttpUrl, None] = None):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 1.3K bytes - Viewed (0) -
tests/test_custom_middleware_exception.py
return wrapper = self.receive_wrapper(receive) await self.app(scope, wrapper, send) @router.post("/middleware") def run_middleware(file: UploadFile = File(..., description="Big File")): return {"message": "OK"} app.include_router(router) app.add_middleware(ContentSizeLimitMiddleware, max_content_size=2**8) client = TestClient(app)
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Aug 25 21:44:40 GMT 2022 - 2.8K bytes - Viewed (0) -
docs/zh/docs/tutorial/bigger-applications.md
### 避免名称冲突 我们将直接导入 `items` 子模块,而不是仅导入其 `router` 变量。 这是因为我们在 `users` 子模块中也有另一个名为 `router` 的变量。 如果我们一个接一个地导入,例如: ```Python from .routers.items import router from .routers.users import router ``` 来自 `users` 的 `router` 将覆盖来自 `items` 中的 `router`,我们将无法同时使用它们。 因此,为了能够在同一个文件中使用它们,我们直接导入子模块: ```Python hl_lines="5" title="app/main.py"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18.5K bytes - Viewed (0)