Refactor value converter #281
Triggered via pull request
April 29, 2025 16:21
Status
Cancelled
Total duration
6h 0m 21s
Artifacts
–
test.yaml
on: pull_request
fmt
6s
clippy
2m 2s
Matrix: pytest
Annotations
2 errors and 257 warnings
|
ubuntu-latest-3.10
The operation was canceled.
|
|
ubuntu-latest-3.10
The job has exceeded the maximum execution time of 6h0m0s
|
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
this type has been superceded by `LazyLock` in the standard library:
src/value_converter/consts.rs#L13
warning: this type has been superceded by `LazyLock` in the standard library
--> src/value_converter/consts.rs:13:33
|
13 | pub static KWARGS_QUERYSTRINGS: Lazy<RwLock<HashMap<String, (String, Vec<String>)>>> =
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_std_lazy_statics
= note: `-W clippy::non-std-lazy-statics` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::non_std_lazy_statics)]`
help: use `std::sync::LazyLock` instead
|
13 ~ pub static KWARGS_QUERYSTRINGS: std::sync::LazyLock<RwLock<HashMap<String, (String, Vec<String>)>>> =
14 ~ std::sync::LazyLock::new(|| RwLock::new(Default::default()));
|
|
|
unused `async` for function with no await statements:
src/driver/listener/core.rs#L232
warning: unused `async` for function with no await statements
--> src/driver/listener/core.rs:232:5
|
232 | / async fn shutdown(&mut self) {
233 | | self.abort_listen();
234 | | std::mem::take(&mut self.connection);
235 | | std::mem::take(&mut self.receiver);
236 | |
237 | | self.is_started = false;
238 | | }
| |_____^
|
= help: consider removing the `async` from this function
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async
= note: `-W clippy::unused-async` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::unused_async)]`
|
|
unnecessary semicolon:
src/value_converter/models/dto.rs#L479
warning: unnecessary semicolon
--> src/value_converter/models/dto.rs:479:22
|
479 | };
| ^ help: remove
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
|
|
unnecessary semicolon:
src/value_converter/funcs/to_python.rs#L708
warning: unnecessary semicolon
--> src/value_converter/funcs/to_python.rs:708:6
|
708 | };
| ^ help: remove
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
|
|
unnecessary semicolon:
src/value_converter/funcs/to_python.rs#L179
warning: unnecessary semicolon
--> src/value_converter/funcs/to_python.rs:179:22
|
179 | };
| ^ help: remove
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
|
|
unnecessary semicolon:
src/value_converter/funcs/from_python.rs#L922
warning: unnecessary semicolon
--> src/value_converter/funcs/from_python.rs:922:6
|
922 | };
| ^ help: remove
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
|
|
unnecessary semicolon:
src/value_converter/funcs/from_python.rs#L883
warning: unnecessary semicolon
--> src/value_converter/funcs/from_python.rs:883:10
|
883 | };
| ^ help: remove
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
|
|
unnecessary semicolon:
src/value_converter/funcs/from_python.rs#L874
warning: unnecessary semicolon
--> src/value_converter/funcs/from_python.rs:874:10
|
874 | };
| ^ help: remove
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
|
|
unnecessary semicolon:
src/value_converter/funcs/from_python.rs#L832
warning: unnecessary semicolon
--> src/value_converter/funcs/from_python.rs:832:10
|
832 | };
| ^ help: remove
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
|
|
unnecessary semicolon:
src/value_converter/funcs/from_python.rs#L766
warning: unnecessary semicolon
--> src/value_converter/funcs/from_python.rs:766:14
|
766 | };
| ^ help: remove
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
|
|
docs for function returning `Result` missing `# Errors` section:
src/value_converter/funcs/from_python.rs#L675
warning: docs for function returning `Result` missing `# Errors` section
--> src/value_converter/funcs/from_python.rs:675:1
|
675 | / pub fn convert_seq_parameters(
676 | | seq_params: Vec<Py<PyAny>>,
677 | | ) -> RustPSQLDriverPyResult<Vec<PythonDTO>> {
| |___________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
|
useless conversion to the same type: `std::string::String`:
src/value_converter/funcs/from_python.rs#L666
warning: useless conversion to the same type: `std::string::String`
--> src/value_converter/funcs/from_python.rs:666:21
|
666 | format!("Cannot find parameter with name <{param_name}> in parameters").into(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `format!("Cannot find parameter with name <{param_name}> in parameters")`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `-W clippy::useless-conversion` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::useless_conversion)]`
|
|
the following explicit lifetimes could be elided: 'a:
src/value_converter/funcs/from_python.rs#L654
warning: the following explicit lifetimes could be elided: 'a
--> src/value_converter/funcs/from_python.rs:654:34
|
654 | pub fn convert_kwargs_parameters<'a>(
| ^^
655 | kw_params: &Bound<'_, PyMapping>,
656 | querystring: &'a str,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `-W clippy::needless-lifetimes` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
|
654 ~ pub fn convert_kwargs_parameters(
655 | kw_params: &Bound<'_, PyMapping>,
656 ~ querystring: &str,
|
|
|
docs for function returning `Result` missing `# Errors` section:
src/value_converter/funcs/from_python.rs#L654
warning: docs for function returning `Result` missing `# Errors` section
--> src/value_converter/funcs/from_python.rs:654:1
|
654 | / pub fn convert_kwargs_parameters<'a>(
655 | | kw_params: &Bound<'_, PyMapping>,
656 | | querystring: &'a str,
657 | | ) -> RustPSQLDriverPyResult<(String, Vec<PythonDTO>)> {
| |_____________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
|
docs for function returning `Result` missing `# Errors` section:
src/value_converter/consts.rs#L25
warning: docs for function returning `Result` missing `# Errors` section
--> src/value_converter/consts.rs:25:1
|
25 | pub fn get_timedelta_cls(py: Python<'_>) -> PyResult<&Bound<'_, PyType>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
|
docs for function returning `Result` missing `# Errors` section:
src/value_converter/consts.rs#L16
warning: docs for function returning `Result` missing `# Errors` section
--> src/value_converter/consts.rs:16:1
|
16 | pub fn get_decimal_cls(py: Python<'_>) -> PyResult<&Bound<'_, PyType>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
|
calling `HashMap::default()` is more clear than this expression:
src/value_converter/consts.rs#L14
warning: calling `HashMap::default()` is more clear than this expression
--> src/value_converter/consts.rs:14:30
|
14 | Lazy::new(|| RwLock::new(Default::default()));
| ^^^^^^^^^^^^^^^^^^ help: try: `HashMap::default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access
= note: `-W clippy::default-trait-access` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::default_trait_access)]`
|
|
very complex type used. Consider factoring parts into `type` definitions:
src/value_converter/consts.rs#L13
warning: very complex type used. Consider factoring parts into `type` definitions
--> src/value_converter/consts.rs:13:33
|
13 | pub static KWARGS_QUERYSTRINGS: Lazy<RwLock<HashMap<String, (String, Vec<String>)>>> =
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `-W clippy::type-complexity` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::type_complexity)]`
|
|
this lifetime isn't used in the function definition:
src/driver/transaction.rs#L764
warning: this lifetime isn't used in the function definition
--> src/driver/transaction.rs:764:27
|
764 | pub async fn pipeline<'py>(
| ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this lifetime isn't used in the function definition:
src/driver/transaction.rs#L300
warning: this lifetime isn't used in the function definition
--> src/driver/transaction.rs:300:24
|
300 | async fn __aexit__<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this lifetime isn't used in the function definition:
src/driver/transaction.rs#L245
warning: this lifetime isn't used in the function definition
--> src/driver/transaction.rs:245:25
|
245 | async fn __aenter__<'a>(self_: Py<Self>) -> RustPSQLDriverPyResult<Py<Self>> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
unneeded `return` statement:
src/driver/transaction.rs#L233
warning: unneeded `return` statement
--> src/driver/transaction.rs:233:9
|
233 | return self.pg_config.get_ports().iter().collect::<Vec<&u16>>();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
233 - return self.pg_config.get_ports().iter().collect::<Vec<&u16>>();
233 + self.pg_config.get_ports().iter().collect::<Vec<&u16>>()
|
|
|
unnecessary semicolon:
src/driver/transaction.rs#L50
warning: unnecessary semicolon
--> src/driver/transaction.rs:50:10
|
50 | };
| ^ help: remove
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
|
|
unnecessary semicolon:
src/driver/listener/structs.rs#L25
warning: unnecessary semicolon
--> src/driver/listener/structs.rs:25:10
|
25 | };
| ^ help: remove
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
|
|
this lifetime isn't used in the function definition:
src/driver/listener/core.rs#L97
warning: this lifetime isn't used in the function definition
--> src/driver/listener/core.rs:97:24
|
97 | async fn __aexit__<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this lifetime isn't used in the function definition:
src/driver/listener/core.rs#L92
warning: this lifetime isn't used in the function definition
--> src/driver/listener/core.rs:92:25
|
92 | async fn __aenter__<'a>(slf: Py<Self>) -> RustPSQLDriverPyResult<Py<Self>> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this argument is passed by value, but not consumed in the function body:
src/driver/listener/core.rs#L45
warning: this argument is passed by value, but not consumed in the function body
--> src/driver/listener/core.rs:45:27
|
45 | pub fn new(pg_config: Arc<Config>, ca_file: Option<String>, ssl_mode: Option<SslMode>) -> Self {
| ^^^^^^^^^^^ help: consider taking a reference instead: `&Arc<Config>`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
= note: `-W clippy::needless-pass-by-value` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::needless_pass_by_value)]`
|
|
unneeded `return` statement:
src/driver/inner_connection.rs#L287
warning: unneeded `return` statement
--> src/driver/inner_connection.rs:287:9
|
287 | / return Python::with_gil(|gil| match result.columns().first() {
288 | | Some(first_column) => postgres_to_py(gil, &result, first_column, 0, &None),
289 | | None => Ok(gil.None()),
290 | | });
| |__________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
287 ~ Python::with_gil(|gil| match result.columns().first() {
288 + Some(first_column) => postgres_to_py(gil, &result, first_column, 0, &None),
289 + None => Ok(gil.None()),
290 ~ })
|
|
|
docs for function returning `Result` missing `# Errors` section:
src/driver/inner_connection.rs#L277
warning: docs for function returning `Result` missing `# Errors` section
--> src/driver/inner_connection.rs:277:5
|
277 | / pub async fn fetch_val(
278 | | &self,
279 | | querystring: String,
280 | | parameters: Option<pyo3::Py<PyAny>>,
281 | | prepared: Option<bool>,
282 | | ) -> RustPSQLDriverPyResult<Py<PyAny>> {
| |__________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
|
unneeded `return` statement:
src/driver/inner_connection.rs#L274
warning: unneeded `return` statement
--> src/driver/inner_connection.rs:274:9
|
274 | return Ok(PSQLDriverSinglePyQueryResult::new(result));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
274 - return Ok(PSQLDriverSinglePyQueryResult::new(result));
274 + Ok(PSQLDriverSinglePyQueryResult::new(result))
|
|
|
docs for function returning `Result` missing `# Errors` section:
src/driver/inner_connection.rs#L264
warning: docs for function returning `Result` missing `# Errors` section
--> src/driver/inner_connection.rs:264:5
|
264 | / pub async fn fetch_row(
265 | | &self,
266 | | querystring: String,
267 | | parameters: Option<pyo3::Py<PyAny>>,
268 | | prepared: Option<bool>,
269 | | ) -> RustPSQLDriverPyResult<PSQLDriverSinglePyQueryResult> {
| |______________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
|
unneeded `return` statement:
src/driver/inner_connection.rs#L261
warning: unneeded `return` statement
--> src/driver/inner_connection.rs:261:9
|
261 | return Ok(result);
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
261 - return Ok(result);
261 + Ok(result)
|
|
|
docs for function returning `Result` missing `# Errors` section:
src/driver/inner_connection.rs#L222
warning: docs for function returning `Result` missing `# Errors` section
--> src/driver/inner_connection.rs:222:5
|
222 | / pub async fn fetch_row_raw(
223 | | &self,
224 | | querystring: String,
225 | | parameters: Option<pyo3::Py<PyAny>>,
226 | | prepared: Option<bool>,
227 | | ) -> RustPSQLDriverPyResult<Row> {
| |____________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
|
unneeded `return` statement:
src/driver/inner_connection.rs#L219
warning: unneeded `return` statement
--> src/driver/inner_connection.rs:219:9
|
219 | return Ok(());
| ^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
219 - return Ok(());
219 + Ok(())
|
|
|
docs for function returning `Result` missing `# Errors` section:
src/driver/inner_connection.rs#L173
warning: docs for function returning `Result` missing `# Errors` section
--> src/driver/inner_connection.rs:173:5
|
173 | / pub async fn execute_many(
174 | | &self,
175 | | mut querystring: String,
176 | | parameters: Option<Vec<Py<PyAny>>>,
177 | | prepared: Option<bool>,
178 | | ) -> RustPSQLDriverPyResult<()> {
| |___________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
|
docs for function returning `Result` missing `# Errors` section:
src/driver/inner_connection.rs#L131
warning: docs for function returning `Result` missing `# Errors` section
--> src/driver/inner_connection.rs:131:5
|
131 | / pub async fn execute(
132 | | &self,
133 | | querystring: String,
134 | | parameters: Option<pyo3::Py<PyAny>>,
135 | | prepared: Option<bool>,
136 | | ) -> RustPSQLDriverPyResult<PSQLDriverPyQueryResult> {
| |________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
|
docs for function returning `Result` missing `# Errors` section:
src/driver/inner_connection.rs#L89
warning: docs for function returning `Result` missing `# Errors` section
--> src/driver/inner_connection.rs:89:5
|
89 | / pub async fn cursor_execute(
90 | | &self,
91 | | querystring: String,
92 | | parameters: Option<pyo3::Py<PyAny>>,
93 | | prepared: Option<bool>,
94 | | ) -> RustPSQLDriverPyResult<PSQLDriverPyQueryResult> {
| |________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
= note: `-W clippy::missing-errors-doc` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::missing_errors_doc)]`
|
|
this lifetime isn't used in the function definition:
src/driver/cursor.rs#L683
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:683:37
|
683 | pub async fn fetch_backward_all<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this lifetime isn't used in the function definition:
src/driver/cursor.rs#L649
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:649:33
|
649 | pub async fn fetch_backward<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this lifetime isn't used in the function definition:
src/driver/cursor.rs#L616
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:616:36
|
616 | pub async fn fetch_forward_all<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this lifetime isn't used in the function definition:
src/driver/cursor.rs#L582
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:582:33
|
582 | pub async fn fetch_relative<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this lifetime isn't used in the function definition:
src/driver/cursor.rs#L548
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:548:33
|
548 | pub async fn fetch_absolute<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this lifetime isn't used in the function definition:
src/driver/cursor.rs#L521
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:521:29
|
521 | pub async fn fetch_last<'a>(slf: Py<Self>) -> RustPSQLDriverPyResult<PSQLDriverPyQueryResult> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this lifetime isn't used in the function definition:
src/driver/cursor.rs#L494
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:494:30
|
494 | pub async fn fetch_first<'a>(slf: Py<Self>) -> RustPSQLDriverPyResult<PSQLDriverPyQueryResult> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this lifetime isn't used in the function definition:
src/driver/cursor.rs#L467
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:467:30
|
467 | pub async fn fetch_prior<'a>(slf: Py<Self>) -> RustPSQLDriverPyResult<PSQLDriverPyQueryResult> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this lifetime isn't used in the function definition:
src/driver/cursor.rs#L440
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:440:29
|
440 | pub async fn fetch_next<'a>(slf: Py<Self>) -> RustPSQLDriverPyResult<PSQLDriverPyQueryResult> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this lifetime isn't used in the function definition:
src/driver/cursor.rs#L396
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:396:24
|
396 | pub async fn fetch<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
unnecessary semicolon:
src/driver/cursor.rs#L330
warning: unnecessary semicolon
--> src/driver/cursor.rs:330:22
|
330 | };
| ^ help: remove
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
|
|
this lifetime isn't used in the function definition:
src/driver/cursor.rs#L263
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:263:24
|
263 | async fn __aexit__<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this lifetime isn't used in the function definition:
src/driver/cursor.rs#L235
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:235:25
|
235 | async fn __aenter__<'a>(slf: Py<Self>) -> RustPSQLDriverPyResult<Py<Self>> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
using `clone` on type `Option<bool>` which implements the `Copy` trait:
src/driver/cursor.rs#L223
warning: using `clone` on type `Option<bool>` which implements the `Copy` trait
--> src/driver/cursor.rs:223:16
|
223 | return self.prepared.clone();
| ^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.prepared`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `-W clippy::clone-on-copy` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::clone_on_copy)]`
|
|
unneeded `return` statement:
src/driver/cursor.rs#L223
warning: unneeded `return` statement
--> src/driver/cursor.rs:223:9
|
223 | return self.prepared.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
223 - return self.prepared.clone();
223 + self.prepared.clone()
|
|
|
unneeded `return` statement:
src/driver/cursor.rs#L218
warning: unneeded `return` statement
--> src/driver/cursor.rs:218:9
|
218 | return self.parameters.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
218 - return self.parameters.clone();
218 + self.parameters.clone()
|
|
|
unneeded `return` statement:
src/driver/cursor.rs#L213
warning: unneeded `return` statement
--> src/driver/cursor.rs:213:9
|
213 | return self.querystring.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
213 - return self.querystring.clone();
213 + self.querystring.clone()
|
|
|
unneeded `return` statement:
src/driver/cursor.rs#L208
warning: unneeded `return` statement
--> src/driver/cursor.rs:208:9
|
208 | return self.cursor_name.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
208 - return self.cursor_name.clone();
208 + self.cursor_name.clone()
|
|
|
unneeded `return` statement:
src/driver/cursor.rs#L203
warning: unneeded `return` statement
--> src/driver/cursor.rs:203:9
|
203 | return self.pg_config.get_ports().iter().collect::<Vec<&u16>>();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
203 - return self.pg_config.get_ports().iter().collect::<Vec<&u16>>();
203 + self.pg_config.get_ports().iter().collect::<Vec<&u16>>()
|
|
|
this function has too many arguments (8/7):
src/driver/cursor.rs#L107
warning: this function has too many arguments (8/7)
--> src/driver/cursor.rs:107:5
|
107 | / pub fn new(
108 | | db_transaction: Arc<PsqlpyConnection>,
109 | | pg_config: Arc<Config>,
110 | | querystring: String,
... |
115 | | prepared: Option<bool>,
116 | | ) -> Self {
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `-W clippy::too-many-arguments` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::too_many_arguments)]`
|
|
unnecessary semicolon:
src/driver/connection_pool_builder.rs#L51
warning: unnecessary semicolon
--> src/driver/connection_pool_builder.rs:51:10
|
51 | };
| ^ help: remove
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
= note: `-W clippy::unnecessary-semicolon` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::unnecessary_semicolon)]`
|
|
this lifetime isn't used in the function definition:
src/driver/connection.rs#L337
warning: this lifetime isn't used in the function definition
--> src/driver/connection.rs:337:28
|
337 | pub async fn fetch_val<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this lifetime isn't used in the function definition:
src/driver/connection.rs#L254
warning: this lifetime isn't used in the function definition
--> src/driver/connection.rs:254:31
|
254 | pub async fn execute_many<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this lifetime isn't used in the function definition:
src/driver/connection.rs#L167
warning: this lifetime isn't used in the function definition
--> src/driver/connection.rs:167:24
|
167 | async fn __aexit__<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
|
this lifetime isn't used in the function definition:
src/driver/connection.rs#L140
warning: this lifetime isn't used in the function definition
--> src/driver/connection.rs:140:25
|
140 | async fn __aenter__<'a>(self_: Py<Self>) -> RustPSQLDriverPyResult<Py<Self>> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
= note: `-W clippy::extra-unused-lifetimes` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::extra_unused_lifetimes)]`
|
|
unneeded `return` statement:
src/driver/connection.rs#L137
warning: unneeded `return` statement
--> src/driver/connection.rs:137:9
|
137 | return self.pg_config.get_options();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
137 - return self.pg_config.get_options();
137 + self.pg_config.get_options()
|
|
|
unneeded `return` statement:
src/driver/connection.rs#L132
warning: unneeded `return` statement
--> src/driver/connection.rs:132:9
|
132 | return self.pg_config.get_ports().iter().collect::<Vec<&u16>>();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `-W clippy::needless-return` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::needless_return)]`
help: remove `return`
|
132 - return self.pg_config.get_ports().iter().collect::<Vec<&u16>>();
132 + self.pg_config.get_ports().iter().collect::<Vec<&u16>>()
|
|
|
function `py_sequence_to_rust` is never used:
src/value_converter/funcs/to_python.rs#L682
warning: function `py_sequence_to_rust` is never used
--> src/value_converter/funcs/to_python.rs:682:4
|
682 | fn py_sequence_to_rust(bind_parameters: &Bound<PyAny>) -> RustPSQLDriverPyResult<Vec<Py<PyAny>>> {
| ^^^^^^^^^^^^^^^^^^^
|
|
function `parse_kwargs_qs` is never used:
src/value_converter/funcs/to_python.rs#L79
warning: function `parse_kwargs_qs` is never used
--> src/value_converter/funcs/to_python.rs:79:4
|
79 | fn parse_kwargs_qs(querystring: &str) -> (String, Vec<String>) {
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/uuid.rs#L31
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/uuid.rs:31:37
|
31 | self.0.to_string().as_str().to_object(py)
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/interval.rs#L22
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/interval.rs:22:13
|
22 | ret.to_object(py)
| ^^^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`:
src/value_converter/models/interval.rs#L15
warning: use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`
--> src/value_converter/models/interval.rs:15:30
|
15 | let pydict = PyDict::new_bound(py);
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/dto.rs#L108
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/dto.rs:108:54
|
108 | PythonDTO::PyFloat64(pyfloat) => pyfloat.to_object(py),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/dto.rs#L107
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/dto.rs:107:54
|
107 | PythonDTO::PyFloat32(pyfloat) => pyfloat.to_object(py),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/dto.rs#L106
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/dto.rs:106:49
|
106 | PythonDTO::PyIntU64(pyint) => pyint.to_object(py),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/dto.rs#L105
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/dto.rs:105:49
|
105 | PythonDTO::PyIntI64(pyint) => pyint.to_object(py),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/dto.rs#L104
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/dto.rs:104:49
|
104 | PythonDTO::PyIntI32(pyint) => pyint.to_object(py),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/dto.rs#L103
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/dto.rs:103:60
|
103 | | PythonDTO::PyVarChar(py_string) => py_string.to_object(py),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/dto.rs#L100
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/dto.rs:100:49
|
100 | PythonDTO::PyBool(pybool) => pybool.to_object(py),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/decimal.rs#L15
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/decimal.rs:15:13
|
15 | ret.to_object(py)
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L607
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:607:23
|
607 | Ok(result_py_dict.to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L601
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:601:26
|
601 | .to_object(py),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L592
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:592:75
|
592 | postgres_bytes_to_py(py, &Type::VARCHAR, buf, false)?.to_object(py),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L586
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:586:74
|
586 | postgres_bytes_to_py(py, field.type_(), buf, false)?.to_object(py),
| ^^^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`:
src/value_converter/funcs/to_python.rs#L554
warning: use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`
--> src/value_converter/funcs/to_python.rs:554:53
|
554 | let result_py_dict: Bound<'_, PyDict> = PyDict::new_bound(py);
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L532
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:532:48
|
532 | return Ok(real_vector.to_vec().to_object(py));
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L512
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:512:58
|
512 | Ok(postgres_array_to_py(py, interval_array_).to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L505
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:505:56
|
505 | Ok(postgres_array_to_py(py, circle_array_).to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L499
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:499:54
|
499 | Ok(postgres_array_to_py(py, lseg_array_).to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L492
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:492:54
|
492 | Ok(postgres_array_to_py(py, line_array_).to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L486
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:486:54
|
486 | Ok(postgres_array_to_py(py, path_array_).to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L479
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:479:53
|
479 | Ok(postgres_array_to_py(py, box_array_).to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L473
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:473:55
|
473 | Ok(postgres_array_to_py(py, point_array_).to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L467
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:467:10
|
467 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L461
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:461:56
|
461 | Ok(postgres_array_to_py(py, db_json_array).to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L456
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:456:10
|
456 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L449
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:449:53
|
449 | Ok(postgres_array_to_py(py, uuid_array).to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L443
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:443:10
|
443 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L435
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:435:10
|
435 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L429
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:429:10
|
429 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L423
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:423:10
|
423 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L417
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:417:10
|
417 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L411
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:411:10
|
411 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L405
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:405:10
|
405 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L399
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:399:10
|
399 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L393
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:393:10
|
393 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L386
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:386:10
|
386 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L380
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:380:10
|
380 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L371
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:371:51
|
371 | return Ok(InnerInterval(interval).to_object(py));
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L363
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:363:45
|
363 | Some(circle_) => Ok(circle_.into_py(py)),
| ^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L356
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:356:38
|
356 | None => Ok(py.None().to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L355
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:355:41
|
355 | Some(lseg_) => Ok(lseg_.into_py(py)),
| ^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L347
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:347:38
|
347 | None => Ok(py.None().to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L346
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:346:41
|
346 | Some(line_) => Ok(line_.into_py(py)),
| ^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L339
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:339:38
|
339 | None => Ok(py.None().to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L338
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:338:41
|
338 | Some(path_) => Ok(path_.into_py(py)),
| ^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L330
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:330:38
|
330 | None => Ok(py.None().to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L329
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:329:39
|
329 | Some(box_) => Ok(box_.into_py(py)),
| ^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L322
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:322:38
|
322 | None => Ok(py.None().to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L321
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:321:43
|
321 | Some(point_) => Ok(point_.into_py(py)),
| ^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L313
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:313:26
|
313 | Ok(py.None().to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L311
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:311:50
|
311 | return Ok(InnerDecimal(numeric_).to_object(py));
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L304
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:304:30
|
304 | Ok(py.None().to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L302
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:302:49
|
302 | Ok(macaddr_.inner().to_string().to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L295
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:295:30
|
295 | Ok(py.None().to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L293
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:293:49
|
293 | Ok(macaddr_.inner().to_string().to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L285
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:285:38
|
285 | None => Ok(py.None().to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L277
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:277:86
|
277 | composite_field_postgres_to_py::<Option<IpAddr>>(type_, buf, is_simple)?.to_object(py),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L270
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:270:79
|
270 | return Ok(PyString::new_bound(py, &rust_uuid.to_string()).to_object(py))
| ^^^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyString::new_bound`: renamed to `PyString::new`:
src/value_converter/funcs/to_python.rs#L270
warning: use of deprecated associated function `pyo3::types::PyString::new_bound`: renamed to `PyString::new`
--> src/value_converter/funcs/to_python.rs:270:41
|
270 | return Ok(PyString::new_bound(py, &rust_uuid.to_string()).to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L262
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:262:18
|
262 | .to_object(py),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L258
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:258:10
|
258 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L253
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:253:10
|
253 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L248
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:248:10
|
248 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L241
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:241:86
|
241 | Ok(composite_field_postgres_to_py::<Option<f64>>(type_, buf, is_simple)?.to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L237
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:237:86
|
237 | Ok(composite_field_postgres_to_py::<Option<f32>>(type_, buf, is_simple)?.to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L233
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:233:86
|
233 | Ok(composite_field_postgres_to_py::<Option<i64>>(type_, buf, is_simple)?.to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L229
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:229:86
|
229 | Ok(composite_field_postgres_to_py::<Option<i32>>(type_, buf, is_simple)?.to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L225
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:225:86
|
225 | Ok(composite_field_postgres_to_py::<Option<i16>>(type_, buf, is_simple)?.to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L220
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:220:84
|
220 | composite_field_postgres_to_py::<Option<bool>>(type_, buf, is_simple)?.to_object(py),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L216
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:216:10
|
216 | .to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L207
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:207:65
|
207 | return Ok(PyBytes::new_bound(py, &vec_of_bytes).to_object(py));
| ^^^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyBytes::new_bound`: renamed to `PyBytes::new`:
src/value_converter/funcs/to_python.rs#L207
warning: use of deprecated associated function `pyo3::types::PyBytes::new_bound`: renamed to `PyBytes::new`
--> src/value_converter/funcs/to_python.rs:207:36
|
207 | return Ok(PyBytes::new_bound(py, &vec_of_bytes).to_object(py));
| ^^^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyList::empty_bound`: renamed to `PyList::empty`:
src/value_converter/funcs/to_python.rs#L190
warning: use of deprecated associated function `pyo3::types::PyList::empty_bound`: renamed to `PyList::empty`
--> src/value_converter/funcs/to_python.rs:190:13
|
190 | PyList::empty_bound(py).unbind()
| ^^^^^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyList::new_bound`: renamed to `PyList::new`:
src/value_converter/funcs/to_python.rs#L185
warning: use of deprecated associated function `pyo3::types::PyList::new_bound`: renamed to `PyList::new`
--> src/value_converter/funcs/to_python.rs:185:32
|
185 | return PyList::new_bound(py, data).unbind();
| ^^^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyList::empty_bound`: renamed to `PyList::empty`:
src/value_converter/funcs/to_python.rs#L166
warning: use of deprecated associated function `pyo3::types::PyList::empty_bound`: renamed to `PyList::empty`
--> src/value_converter/funcs/to_python.rs:166:42
|
166 | let final_list = PyList::empty_bound(py);
| ^^^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L74
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:74:44
|
74 | Value::String(string) => Ok(string.to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L71
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:71:36
|
71 | Ok(number.as_u64().to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L69
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:69:36
|
69 | Ok(number.as_i64().to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L67
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:67:36
|
67 | Ok(number.as_f64().to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L64
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:64:44
|
64 | Value::Bool(boolean) => Ok(boolean.to_object(py)),
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L62
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:62:24
|
62 | Ok(py_dict.to_object(py))
| ^^^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`:
src/value_converter/funcs/to_python.rs#L53
warning: use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`
--> src/value_converter/funcs/to_python.rs:53:35
|
53 | let py_dict = PyDict::new_bound(py);
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L50
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:50:27
|
50 | Ok(result_vec.to_object(py))
| ^^^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`:
src/value_converter/additional_types.rs#L576
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:576:18
|
576 | PyTuple::new_bound(py, result_vec).into()
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L573
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:573:27
|
573 | self.radius().into_py(py),
| ^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L572
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:572:72
|
572 | PyTuple::new_bound(py, vec![center.x.into_py(py), center.y.into_py(py)]).into(),
| ^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L572
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:572:50
|
572 | PyTuple::new_bound(py, vec![center.x.into_py(py), center.y.into_py(py)]).into(),
| ^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`:
src/value_converter/additional_types.rs#L572
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:572:22
|
572 | PyTuple::new_bound(py, vec![center.x.into_py(py), center.y.into_py(py)]).into(),
| ^^^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`:
src/value_converter/additional_types.rs#L457
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:457:18
|
457 | PyTuple::new_bound(py, result_vec).into()
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L454
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:454:22
|
454 | self.c().into_py(py),
| ^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L453
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:453:22
|
453 | self.b().into_py(py),
| ^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L452
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:452:22
|
452 | self.a().into_py(py),
| ^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyList::new_bound`: renamed to `PyList::new`:
src/value_converter/additional_types.rs#L275
warning: use of deprecated associated function `pyo3::types::PyList::new_bound`: renamed to `PyList::new`
--> src/value_converter/additional_types.rs:275:17
|
275 | PyList::new_bound(py, result_vec).into()
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L270
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:270:84
|
270 | PyTuple::new_bound(py, vec![coordinate.x.into_py(py), coordinate.y.into_py(py)])
| ^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L270
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:270:58
|
270 | PyTuple::new_bound(py, vec![coordinate.x.into_py(py), coordinate.y.into_py(py)])
| ^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`:
src/value_converter/additional_types.rs#L270
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:270:26
|
270 | PyTuple::new_bound(py, vec![coordinate.x.into_py(py), coordinate.y.into_py(py)])
| ^^^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyList::new_bound`: renamed to `PyList::new`:
src/value_converter/additional_types.rs#L227
warning: use of deprecated associated function `pyo3::types::PyList::new_bound`: renamed to `PyList::new`
--> src/value_converter/additional_types.rs:227:17
|
227 | PyList::new_bound(py, result_vec).into()
| ^^^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`:
src/value_converter/additional_types.rs#L225
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:225:29
|
225 | return PyTuple::new_bound(py, result_vec).into();
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L219
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:219:84
|
219 | PyTuple::new_bound(py, vec![coordinate.x.into_py(py), coordinate.y.into_py(py)])
| ^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L219
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:219:58
|
219 | PyTuple::new_bound(py, vec![coordinate.x.into_py(py), coordinate.y.into_py(py)])
| ^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`:
src/value_converter/additional_types.rs#L219
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:219:26
|
219 | PyTuple::new_bound(py, vec![coordinate.x.into_py(py), coordinate.y.into_py(py)])
| ^^^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`:
src/value_converter/additional_types.rs#L176
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:176:18
|
176 | PyTuple::new_bound(py, result_vec).into()
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L171
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:171:73
|
171 | vec![one_coordinate.x.into_py(py), one_coordinate.y.into_py(py)],
| ^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L171
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:171:43
|
171 | vec![one_coordinate.x.into_py(py), one_coordinate.y.into_py(py)],
| ^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`:
src/value_converter/additional_types.rs#L169
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:169:26
|
169 | PyTuple::new_bound(
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L123
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:123:63
|
123 | vec![inner_value.x().into_py(py), inner_value.y().into_py(py)],
| ^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L123
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:123:34
|
123 | vec![inner_value.x().into_py(py), inner_value.y().into_py(py)],
| ^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`:
src/value_converter/additional_types.rs#L121
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:121:18
|
121 | PyTuple::new_bound(
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L113
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:113:14
|
113 | self.into_py(py)
| ^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L107
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:107:14
|
107 | self.into_py(py)
| ^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L101
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:101:14
|
101 | self.into_py(py)
| ^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L95
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:95:14
|
95 | self.into_py(py)
| ^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L89
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:89:14
|
89 | self.into_py(py)
| ^^^^^^^
|
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L83
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:83:14
|
83 | self.into_py(py)
| ^^^^^^^
|
|
use of deprecated method `pyo3::Py::<T>::call_bound`: renamed to `Py::call`:
src/row_factories.rs#L38
warning: use of deprecated method `pyo3::Py::<T>::call_bound`: renamed to `Py::call`
--> src/row_factories.rs:38:19
|
38 | Ok(self.0.call_bound(py, (), Some(dict_))?)
| ^^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/row_factories.rs#L17
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/row_factories.rs:17:46
|
17 | Ok(PyTuple::new_bound(py, dict_.items()).to_object(py))
| ^^^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`:
src/row_factories.rs#L17
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/row_factories.rs:17:17
|
17 | Ok(PyTuple::new_bound(py, dict_.items()).to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/query_result.rs#L193
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/query_result.rs:193:70
|
193 | let pydict = row_to_dict(py, &self.inner, &custom_decoders)?.to_object(py);
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/query_result.rs#L159
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/query_result.rs:159:60
|
159 | Ok(row_to_dict(py, &self.inner, &custom_decoders)?.to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/query_result.rs#L118
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/query_result.rs:118:16
|
118 | Ok(res.to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/query_result.rs#L95
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/query_result.rs:95:16
|
95 | Ok(res.to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/query_result.rs#L73
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/query_result.rs:73:19
|
73 | Ok(result.to_object(py))
| ^^^^^^^^^
|
|
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/query_result.rs#L25
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/query_result.rs:25:44
|
25 | python_dict.set_item(column.name().to_object(py), python_type)?;
| ^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/uuid.rs#L29
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/uuid.rs:29:6
|
29 | impl ToPyObject for InternalUuid {
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/uuid.rs#L5
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/uuid.rs:5:82
|
5 | types::PyAnyMethods, Bound, FromPyObject, PyAny, PyObject, PyResult, Python, ToPyObject,
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/serde_value.rs#L31
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/serde_value.rs:31:6
|
31 | impl ToPyObject for InternalSerdeValue {
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/serde_value.rs#L7
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/serde_value.rs:7:65
|
7 | Bound, FromPyObject, Py, PyAny, PyObject, PyResult, Python, ToPyObject,
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/interval.rs#L12
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/interval.rs:12:6
|
12 | impl ToPyObject for InnerInterval {
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/interval.rs#L5
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/interval.rs:5:23
|
5 | PyObject, Python, ToPyObject,
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/dto.rs#L96
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/dto.rs:96:6
|
96 | impl ToPyObject for PythonDTO {
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/dto.rs#L13
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/dto.rs:13:30
|
13 | use pyo3::{PyObject, Python, ToPyObject};
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/decimal.rs#L9
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/decimal.rs:9:6
|
9 | impl ToPyObject for InnerDecimal {
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/models/decimal.rs#L2
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/models/decimal.rs:2:51
|
2 | use pyo3::{types::PyAnyMethods, PyObject, Python, ToPyObject};
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L158
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:158:8
|
158 | T: ToPyObject,
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L133
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:133:28
|
133 | fn postgres_array_to_py<T: ToPyObject>(
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L16
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:16:39
|
16 | Bound, IntoPy, Py, PyAny, Python, ToPyObject,
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/funcs/to_python.rs#L16
warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/funcs/to_python.rs:16:12
|
16 | Bound, IntoPy, Py, PyAny, Python, ToPyObject,
| ^^^^^^
|
|
use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L566
warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:566:6
|
566 | impl IntoPy<PyObject> for &Circle {
| ^^^^^^
|
|
use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L448
warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:448:6
|
448 | impl IntoPy<PyObject> for &Line {
| ^^^^^^
|
|
use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L262
warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:262:6
|
262 | impl IntoPy<PyObject> for &RustLineSegment {
| ^^^^^^
|
|
use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L211
warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:211:6
|
211 | impl IntoPy<PyObject> for &RustLineString {
| ^^^^^^
|
|
use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L160
warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:160:6
|
160 | impl IntoPy<PyObject> for &RustRect {
| ^^^^^^
|
|
use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L117
warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:117:6
|
117 | impl IntoPy<PyObject> for &RustPoint {
| ^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L111
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:111:6
|
111 | impl ToPyObject for Circle {
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L105
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:105:6
|
105 | impl ToPyObject for Line {
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L99
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:99:6
|
99 | impl ToPyObject for RustLineSegment {
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L93
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:93:6
|
93 | impl ToPyObject for RustLineString {
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L87
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:87:6
|
87 | impl ToPyObject for RustRect {
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L81
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:81:6
|
81 | impl ToPyObject for RustPoint {
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L11
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:11:42
|
11 | IntoPy, Py, PyAny, PyObject, Python, ToPyObject,
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/value_converter/additional_types.rs#L11
warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/value_converter/additional_types.rs:11:5
|
11 | IntoPy, Py, PyAny, PyObject, Python, ToPyObject,
| ^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/row_factories.rs#L4
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/row_factories.rs:4:58
|
4 | wrap_pyfunction, Bound, Py, PyAny, PyResult, Python, ToPyObject,
| ^^^^^^^^^^
|
|
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.:
src/query_result.rs#L1
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
--> src/query_result.rs:1:78
|
1 | use pyo3::{prelude::*, pyclass, pymethods, types::PyDict, Py, PyAny, Python, ToPyObject};
| ^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
|
unused import: `uuid::Uuid`:
src/value_converter/models/serde_value.rs#L3
warning: unused import: `uuid::Uuid`
--> src/value_converter/models/serde_value.rs:3:5
|
3 | use uuid::Uuid;
| ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
|
this `continue` expression is redundant:
src/value_converter/funcs/from_python.rs#L603
warning: this `continue` expression is redundant
--> src/value_converter/funcs/from_python.rs:603:13
|
603 | continue;
| ^^^^^^^^
|
= help: consider dropping the `continue` expression
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_continue
= note: `-W clippy::needless-continue` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::needless_continue)]`
|
|
redundant field names in struct initialization:
src/driver/connection_pool.rs#L224
warning: redundant field names in struct initialization
--> src/driver/connection_pool.rs:224:13
|
224 | ssl_mode: ssl_mode,
| ^^^^^^^^^^^^^^^^^^ help: replace it with: `ssl_mode`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
|
|
redundant field names in struct initialization:
src/driver/connection_pool.rs#L223
warning: redundant field names in struct initialization
--> src/driver/connection_pool.rs:223:13
|
223 | ca_file: ca_file,
| ^^^^^^^^^^^^^^^^ help: replace it with: `ca_file`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
|
|
redundant field names in struct initialization:
src/driver/connection_pool.rs#L221
warning: redundant field names in struct initialization
--> src/driver/connection_pool.rs:221:13
|
221 | pool: pool,
| ^^^^^^^^^^ help: replace it with: `pool`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
|
|
redundant field names in struct initialization:
src/driver/connection_pool.rs#L141
warning: redundant field names in struct initialization
--> src/driver/connection_pool.rs:141:9
|
141 | ssl_mode: ssl_mode,
| ^^^^^^^^^^^^^^^^^^ help: replace it with: `ssl_mode`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
|
|
redundant field names in struct initialization:
src/driver/connection_pool.rs#L140
warning: redundant field names in struct initialization
--> src/driver/connection_pool.rs:140:9
|
140 | ca_file: ca_file,
| ^^^^^^^^^^^^^^^^ help: replace it with: `ca_file`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
|
|
redundant field names in struct initialization:
src/driver/connection_pool.rs#L138
warning: redundant field names in struct initialization
--> src/driver/connection_pool.rs:138:9
|
138 | pool: pool,
| ^^^^^^^^^^ help: replace it with: `pool`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `-W clippy::redundant-field-names` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::redundant_field_names)]`
|
|
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.13
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.13
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.13
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.13
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.9
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.9
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.9
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.9
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.11
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.11
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.11
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.11
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.12
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.12
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.12
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.12
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.10
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.10
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.10
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ubuntu-latest-3.10
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|