Skip to content

Commit 0bff31c

Browse files
committed
Change replier_id type to EntityGlobalId
1 parent a1ce926 commit 0bff31c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/query.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ 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
qos::{CongestionControl, Priority},
27+
session::EntityGlobalId,
2828
utils::{generic, wait, IntoPyResult, IntoPython, IntoRust, MapInto},
2929
};
3030

@@ -223,7 +223,7 @@ impl Reply {
223223
}
224224

225225
#[getter]
226-
fn replier_id(&self) -> Option<ZenohId> {
226+
fn replier_id(&self) -> Option<EntityGlobalId> {
227227
self.0.replier_id().map_into()
228228
}
229229

zenoh/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ class Reply:
693693
def err(self) -> ReplyError | None: ...
694694
@property
695695
@_unstable
696-
def replier_id(self) -> ZenohId | None: ...
696+
def replier_id(self) -> EntityGlobalId | None: ...
697697

698698
@final
699699
class ReplyError:

0 commit comments

Comments
 (0)