New way to define parameters type #282
test.yaml
on: pull_request
fmt
5s
clippy
1m 49s
Matrix: pytest
Annotations
257 warnings
|
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)]`
|
|
docs for function returning `Result` missing `# Errors` section:
src/value_converter/traits.rs#L8
warning: docs for function returning `Result` missing `# Errors` section
--> src/value_converter/traits.rs:8:5
|
8 | fn to_python_dto(python_param: &pyo3::Bound<'_, PyAny>) -> RustPSQLDriverPyResult<PythonDTO>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
|
unnecessary semicolon:
src/value_converter/models/serde_value.rs#L170
warning: unnecessary semicolon
--> src/value_converter/models/serde_value.rs:170:22
|
170 | };
| ^ 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/models/serde_value.rs#L129
warning: docs for function returning `Result` missing `# Errors` section
--> src/value_converter/models/serde_value.rs:129:1
|
129 | pub fn pythondto_array_to_serde(array: Option<Array<PythonDTO>>) -> RustPSQLDriverPyResult<Value> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
|
unneeded `return` statement:
src/value_converter/models/serde_value.rs#L115
warning: unneeded `return` statement
--> src/value_converter/models/serde_value.rs:115:13
|
115 | return serde_value_from_list(gil, value);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
115 - return serde_value_from_list(gil, value);
115 + serde_value_from_list(gil, value)
|
|
|
unneeded `return` statement:
src/value_converter/models/serde_value.rs#L104
warning: unneeded `return` statement
--> src/value_converter/models/serde_value.rs:104:5
|
104 | return Ok(Value::Object(serde_map));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
104 - return Ok(Value::Object(serde_map));
104 + Ok(Value::Object(serde_map))
|
|
|
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#L874
warning: unnecessary semicolon
--> src/value_converter/funcs/from_python.rs:874:6
|
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#L835
warning: unnecessary semicolon
--> src/value_converter/funcs/from_python.rs:835:10
|
835 | };
| ^ 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#L826
warning: unnecessary semicolon
--> src/value_converter/funcs/from_python.rs:826:10
|
826 | };
| ^ 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#L784
warning: unnecessary semicolon
--> src/value_converter/funcs/from_python.rs:784:10
|
784 | };
| ^ 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#L718
warning: unnecessary semicolon
--> src/value_converter/funcs/from_python.rs:718:14
|
718 | };
| ^ 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#L665
warning: docs for function returning `Result` missing `# Errors` section
--> src/value_converter/funcs/from_python.rs:665:1
|
665 | / pub fn convert_seq_parameters(
666 | | seq_params: Vec<Py<PyAny>>,
667 | | ) -> 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#L656
warning: useless conversion to the same type: `std::string::String`
--> src/value_converter/funcs/from_python.rs:656:21
|
656 | 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#L644
warning: the following explicit lifetimes could be elided: 'a
--> src/value_converter/funcs/from_python.rs:644:34
|
644 | pub fn convert_kwargs_parameters<'a>(
| ^^
645 | kw_params: &Bound<'_, PyMapping>,
646 | 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
|
644 ~ pub fn convert_kwargs_parameters(
645 | kw_params: &Bound<'_, PyMapping>,
646 ~ querystring: &str,
|
|
|
docs for function returning `Result` missing `# Errors` section:
src/value_converter/funcs/from_python.rs#L644
warning: docs for function returning `Result` missing `# Errors` section
--> src/value_converter/funcs/from_python.rs:644:1
|
644 | / pub fn convert_kwargs_parameters<'a>(
645 | | kw_params: &Bound<'_, PyMapping>,
646 | | querystring: &'a str,
647 | | ) -> RustPSQLDriverPyResult<(String, Vec<PythonDTO>)> {
| |_____________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
|
unneeded `return` statement:
src/value_converter/dto/converter_impls.rs#L157
warning: unneeded `return` statement
--> src/value_converter/dto/converter_impls.rs:157:9
|
157 | return Ok(PythonDTO::PyString(string));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
157 - return Ok(PythonDTO::PyString(string));
157 + Ok(PythonDTO::PyString(string))
|
|
|
unneeded `return` statement:
src/value_converter/dto/converter_impls.rs#L93
warning: unneeded `return` statement
--> src/value_converter/dto/converter_impls.rs:93:9
|
93 | return Ok(PythonDTO::PyJsonb(serde_value));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
93 - return Ok(PythonDTO::PyJsonb(serde_value));
93 + Ok(PythonDTO::PyJsonb(serde_value))
|
|
|
unneeded `return` statement:
src/value_converter/dto/converter_impls.rs#L83
warning: unneeded `return` statement
--> src/value_converter/dto/converter_impls.rs:83:9
|
83 | / return Err(RustPSQLDriverError::PyToRustValueConversionError(
84 | | "Cannot convert timedelta from Python to inner Rust type.".to_string(),
85 | | ));
| |__________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
83 ~ Err(RustPSQLDriverError::PyToRustValueConversionError(
84 + "Cannot convert timedelta from Python to inner Rust type.".to_string(),
85 ~ ))
|
|
|
unneeded `return` statement:
src/value_converter/dto/converter_impls.rs#L71
warning: unneeded `return` statement
--> src/value_converter/dto/converter_impls.rs:71:9
|
71 | / return Err(RustPSQLDriverError::PyToRustValueConversionError(
72 | | "Can not convert you datetime to rust type".into(),
73 | | ));
| |__________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
71 ~ Err(RustPSQLDriverError::PyToRustValueConversionError(
72 + "Can not convert you datetime to rust type".into(),
73 ~ ))
|
|
|
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/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::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#L364
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:364:38
|
364 | 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#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#L578
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:578:18
|
578 | 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#L575
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:575:27
|
575 | 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#L574
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:574:72
|
574 | 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#L574
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:574:50
|
574 | 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#L574
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:574:22
|
574 | 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#L459
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:459:18
|
459 | 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#L456
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:456:22
|
456 | 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#L455
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:455:22
|
455 | 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#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.a().into_py(py),
| ^^^^^^^
|
|
use of deprecated associated function `pyo3::types::PyList::new_bound`: renamed to `PyList::new`:
src/value_converter/additional_types.rs#L277
warning: use of deprecated associated function `pyo3::types::PyList::new_bound`: renamed to `PyList::new`
--> src/value_converter/additional_types.rs:277:17
|
277 | 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#L272
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:272:84
|
272 | 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#L272
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:272:58
|
272 | 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#L272
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:272:26
|
272 | 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#L229
warning: use of deprecated associated function `pyo3::types::PyList::new_bound`: renamed to `PyList::new`
--> src/value_converter/additional_types.rs:229:17
|
229 | 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#L227
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:227:29
|
227 | 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#L221
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:221:84
|
221 | 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#L221
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:221:58
|
221 | 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#L221
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:221:26
|
221 | 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#L178
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:178:18
|
178 | 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#L173
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:173:73
|
173 | 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#L173
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:173:43
|
173 | 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#L171
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:171:26
|
171 | 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#L125
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:125:63
|
125 | 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#L125
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:125:34
|
125 | 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#L123
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`
--> src/value_converter/additional_types.rs:123:18
|
123 | 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#L115
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:115:14
|
115 | 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#L109
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:109:14
|
109 | 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#L97
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:97:14
|
97 | 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#L91
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:91:14
|
91 | 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#L85
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:85:14
|
85 | 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#L35
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:35:6
|
35 | 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#L8
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:8:65
|
8 | 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/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#L568
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:568:6
|
568 | 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#L450
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:450:6
|
450 | 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#L264
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:264:6
|
264 | 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#L213
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:213:6
|
213 | 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#L162
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:162:6
|
162 | 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#L119
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:119:6
|
119 | 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#L113
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:113:6
|
113 | 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#L107
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:107:6
|
107 | 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#L101
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:101:6
|
101 | 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#L95
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:95:6
|
95 | 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#L89
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:89:6
|
89 | 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#L83
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:83:6
|
83 | 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
|
|
redundant else block:
src/value_converter/models/serde_value.rs#L118
warning: redundant else block
--> src/value_converter/models/serde_value.rs:118:10
|
118 | } else {
| __________^
119 | | return Err(RustPSQLDriverError::PyToRustValueConversionError(
120 | | "PyJSON must be dict value.".to_string(),
121 | | ));
122 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_else
= note: `-W clippy::redundant-else` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::redundant_else)]`
help: remove the `else` block and move the contents out
|
118 ~ }
119 + return Err(RustPSQLDriverError::PyToRustValueConversionError(
120 + "PyJSON must be dict value.".to_string(),
121 + ));
|
|
|
unused import: `uuid::Uuid`:
src/value_converter/models/serde_value.rs#L4
warning: unused import: `uuid::Uuid`
--> src/value_converter/models/serde_value.rs:4:5
|
4 | use uuid::Uuid;
| ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
|
this `continue` expression is redundant:
src/value_converter/funcs/from_python.rs#L593
warning: this `continue` expression is redundant
--> src/value_converter/funcs/from_python.rs:593:13
|
593 | 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.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/
|
|
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.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/
|