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: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -518,8 +518,8 @@ fn main() -> PyResult<()> {
518
518
```
519
519
520
520
### Additional Information
521
-
- Managing event loop references can be tricky with pyo3-asyncio. See [Event Loop References](https://awestlake87.github.io/pyo3-asyncio/master/doc/#event-loop-references) in the API docs to get a better intuition for how event loop references are managed in this library.
522
-
- Testing pyo3-asyncio libraries and applications requires a custom test harness since Python requires control over the main thread. You can find a testing guide in the [API docs for the `testing` module](https://awestlake87.github.io/pyo3-asyncio/master/doc/testing)
521
+
- Managing event loop references can be tricky with pyo3-asyncio. See [Event Loop References](https://awestlake87.github.io/pyo3-asyncio/master/doc/pyo3_asyncio/#event-loop-references) in the API docs to get a better intuition for how event loop references are managed in this library.
522
+
- Testing pyo3-asyncio libraries and applications requires a custom test harness since Python requires control over the main thread. You can find a testing guide in the [API docs for the `testing` module](https://awestlake87.github.io/pyo3-asyncio/master/doc/pyo3_asyncio/testing)
Copy file name to clipboardExpand all lines: src/async_std.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -230,7 +230,7 @@ where
230
230
/// ```
231
231
#[deprecated(
232
232
since = "0.14.0",
233
-
note = "Use the pyo3_asyncio::async_std::future_into_py instead"
233
+
note = "Use the pyo3_asyncio::async_std::future_into_py instead\n\t\t(see the [migration guide](https://github.com/awestlake87/pyo3-asyncio/#migrating-from-013-to-014) for more details)"
Copy file name to clipboardExpand all lines: src/generic.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -660,7 +660,7 @@ where
660
660
/// ```
661
661
#[deprecated(
662
662
since = "0.14.0",
663
-
note = "Use the pyo3_asyncio::generic::future_into_py instead"
663
+
note = "Use the pyo3_asyncio::generic::future_into_py instead\n\t\t(see the [migration guide](https://github.com/awestlake87/pyo3-asyncio/#migrating-from-013-to-014) for more details)"
note = "Use the pyo3_asyncio::async_std::run or pyo3_asyncio::tokio::run instead"
394
+
note = "Use the pyo3_asyncio::async_std::run or pyo3_asyncio::tokio::run instead\n\t\t(see the [migration guide](https://github.com/awestlake87/pyo3-asyncio/#migrating-from-013-to-014) for more details)"
/// Shutdown the event loops and perform any necessary cleanup
557
-
#[deprecated(since = "0.14.0")]
566
+
#[deprecated(
567
+
since = "0.14.0",
568
+
note = "see the [migration guide](https://github.com/awestlake87/pyo3-asyncio/#migrating-from-013-to-014) for more details"
569
+
)]
558
570
pubfntry_close(py:Python) -> PyResult<()>{
559
571
ifletSome(exec) = EXECUTOR.get(){
560
572
// Shutdown the executor and wait until all threads are cleaned up
@@ -751,7 +763,7 @@ pub fn into_future_with_loop(
751
763
/// ```
752
764
#[deprecated(
753
765
since = "0.14.0",
754
-
note = "Use pyo3_asyncio::async_std::into_future or pyo3_asyncio::tokio::into_future"
766
+
note = "Use pyo3_asyncio::async_std::into_future or pyo3_asyncio::tokio::into_future instead\n (see the [migration guide](https://github.com/awestlake87/pyo3-asyncio/#migrating-from-013-to-014) for more details)"
Copy file name to clipboardExpand all lines: src/tokio.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -243,7 +243,7 @@ where
243
243
/// ```
244
244
#[deprecated(
245
245
since = "0.14.0",
246
-
note = "Use the pyo3_asyncio::tokio::future_into_py instead"
246
+
note = "Use pyo3_asyncio::tokio::future_into_py instead\n (see the [migration guide](https://github.com/awestlake87/pyo3-asyncio/#migrating-from-013-to-014) for more details)"
0 commit comments