Skip to content

Commit 036102c

Browse files
authored
[ZEN-587] Change replier_id type to EntityGlobalId (#554)
* Change replier_id type to EntityGlobalId * Sync lockfile * Fix lockfile version
1 parent d4a37d9 commit 036102c

3 files changed

Lines changed: 29 additions & 29 deletions

File tree

Cargo.lock

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/query.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ use pyo3::{
2020

2121
use crate::{
2222
bytes::{Encoding, ZBytes},
23-
config::ZenohId,
2423
handlers::{into_handler, HandlerImpl},
2524
key_expr::KeyExpr,
2625
macros::{build, downcast_or_new, enum_mapper, option_wrapper, wrapper},
2726
matching::{MatchingListener, MatchingStatus},
2827
qos::{CongestionControl, Priority},
28+
session::EntityGlobalId,
2929
time::Timestamp,
3030
utils::{generic, wait, IntoPyResult, IntoPython, IntoRust, MapInto},
3131
};
@@ -229,7 +229,7 @@ impl Reply {
229229
}
230230

231231
#[getter]
232-
fn replier_id(&self) -> Option<ZenohId> {
232+
fn replier_id(&self) -> Option<EntityGlobalId> {
233233
self.0.replier_id().map_into()
234234
}
235235

zenoh/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ class Reply:
751751
def err(self) -> ReplyError | None: ...
752752
@property
753753
@_unstable
754-
def replier_id(self) -> ZenohId | None: ...
754+
def replier_id(self) -> EntityGlobalId | None: ...
755755

756756
@final
757757
class ReplyError:

0 commit comments

Comments
 (0)