- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 278 for idents (0.1 sec)
-
src/go/types/resolver_test.go
files = append(files, mustParse(fset, src)) } // resolve and type-check package AST importer := new(resolveTestImporter) conf := Config{Importer: importer} uses := make(map[*ast.Ident]Object) defs := make(map[*ast.Ident]Object) _, err := conf.Check("testResolveIdents", fset, files, &Info{Defs: defs, Uses: uses}) if err != nil { t.Fatal(err) } // check that all packages were imported
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4.5K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
```Python hl_lines="22" {!../../../docs_src/events/tutorial003.py!} ``` ## Alternative Events (deprecated) !!! warning The recommended way to handle the *startup* and *shutdown* is using the `lifespan` parameter of the `FastAPI` app as described above. If you provide a `lifespan` parameter, `startup` and `shutdown` event handlers will no longer be called. It's all `lifespan` or all events, not both. You can probably skip this part.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 7.8K bytes - Viewed (0) -
docs/zh/docs/advanced/events.md
使用 `startup` 事件声明 `app` 启动前运行的函数: ```Python hl_lines="8" {!../../../docs_src/events/tutorial001.py!} ``` 本例中,`startup` 事件处理器函数为项目数据库(只是**字典**)提供了一些初始值。 **FastAPI** 支持多个事件处理器函数。 只有所有 `startup` 事件处理器运行完毕,**FastAPI** 应用才开始接收请求。 ## `shutdown` 事件 使用 `shutdown` 事件声明 `app` 关闭时运行的函数: ```Python hl_lines="6" {!../../../docs_src/events/tutorial002.py!} ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 1.7K bytes - Viewed (0) -
docs/em/docs/advanced/events.md
```Python hl_lines="14-19" {!../../../docs_src/events/tutorial003.py!} ``` 🥇 🍕 🔢, ⏭ `yield`, 🔜 🛠️ **⏭** 🈸 ▶️. & 🍕 ⏮️ `yield` 🔜 🛠️ **⏮️** 🈸 ✔️ 🏁. ### 🔁 🔑 👨💼 🚥 👆 ✅, 🔢 🎀 ⏮️ `@asynccontextmanager`. 👈 🗜 🔢 🔘 🕳 🤙 "**🔁 🔑 👨💼**". ```Python hl_lines="1 13" {!../../../docs_src/events/tutorial003.py!} ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 6.2K bytes - Viewed (0) -
docs/pt/docs/advanced/events.md
Para adicionar uma função que deve rodar antes da aplicação iniciar, declare-a com o evento `"startup"`: ```Python hl_lines="8" {!../../../docs_src/events/tutorial001.py!} ``` Nesse caso, a função de manipulação de evento `startup` irá inicializar os itens do "banco de dados" (só um `dict`) com alguns valores. Você pode adicionar mais que uma função de manipulação de evento.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 8.6K bytes - Viewed (0) -
pkg/scheduler/internal/queue/events.go
AxeZhan <******@****.***> 1702023133 +0800
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 6.4K bytes - Viewed (0) -
tools/istio-iptables/pkg/capture/testdata/ipnets.golden
deveshkandpal1224 <******@****.***> 1717646003 -0700
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 03:53:23 UTC 2024 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/events.k8s.io.v1.Event.json
{ "kind": "Event", "apiVersion": "events.k8s.io/v1", "metadata": { "name": "nameValue", "generateName": "generateNameValue", "namespace": "namespaceValue", "selfLink": "selfLinkValue", "uid": "uidValue", "resourceVersion": "resourceVersionValue", "generation": 7, "creationTimestamp": "2008-01-01T01:01:01Z", "deletionTimestamp": "2009-01-01T01:01:01Z", "deletionGracePeriodSeconds": 10,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/events.k8s.io.v1beta1.Event.json
{ "kind": "Event", "apiVersion": "events.k8s.io/v1beta1", "metadata": { "name": "nameValue", "generateName": "generateNameValue", "namespace": "namespaceValue", "selfLink": "selfLinkValue", "uid": "uidValue", "resourceVersion": "resourceVersionValue", "generation": 7, "creationTimestamp": "2008-01-01T01:01:01Z", "deletionTimestamp": "2009-01-01T01:01:01Z", "deletionGracePeriodSeconds": 10,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/events.k8s.io.v1.Event.yaml
action: actionValue apiVersion: events.k8s.io/v1 deprecatedCount: 15 deprecatedFirstTimestamp: "2013-01-01T01:01:01Z" deprecatedLastTimestamp: "2014-01-01T01:01:01Z" deprecatedSource: component: componentValue host: hostValue eventTime: "2002-01-01T01:01:01.000002Z" kind: Event metadata: annotations: annotationsKey: annotationsValue creationTimestamp: "2008-01-01T01:01:01Z" deletionGracePeriodSeconds: 10
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.6K bytes - Viewed (0)