You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: release-notes.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,24 @@
8
8
9
9
* ✨ Add support for passing apps as `fastapi run --entrypoint some.importable_module:app_name`. PR [#199](https://github.com/fastapi/fastapi-cli/pull/199) by [@patrick91](https://github.com/patrick91).
10
10
11
+
If you have been using Uvicorn like:
12
+
13
+
```console
14
+
$ uvicorn some.importable_module:app_name
15
+
```
16
+
17
+
Now you can use the same "entrypoint" syntax with `fastapi`:
18
+
19
+
```console
20
+
$ fastapi run --entrypoint some.importable_module:app_name
21
+
```
22
+
23
+
Or:
24
+
25
+
```console
26
+
$ fastapi run -e some.importable_module:app_name
27
+
```
28
+
11
29
### Internal
12
30
13
31
* ⬆ Bump actions/labeler from 5 to 6. PR [#202](https://github.com/fastapi/fastapi-cli/pull/202) by [@dependabot[bot]](https://github.com/apps/dependabot).
0 commit comments