We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 836c256 commit 56c9b19Copy full SHA for 56c9b19
poulpe_ethercat_py/src/lib.rs
@@ -344,18 +344,16 @@ impl PyPoulpeRemoteClient {
344
}
345
346
#[pyclass]
347
-pub struct PyEthercatServer{
+pub struct PyEthercatServer {
348
#[pyo3(get, set)]
349
pub addr: String,
350
351
352
#[pymethods]
353
-impl PyEthercatServer{
354
-
355
+impl PyEthercatServer {
356
/// Create a new instance of the server
357
#[new]
358
- pub fn new( ) -> Self {
+ pub fn new() -> Self {
359
PyEthercatServer {
360
addr: "http://127.0.0.1:50098".to_string(),
361
0 commit comments