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 289778e commit f6a1f0aCopy full SHA for f6a1f0a
src/lib.rs
@@ -254,6 +254,10 @@ impl PyValue {
254
PyId(MaybeOwned::Borrowed(s)))
255
}
256
257
+ pub fn is_handle(&self) -> bool {
258
+ self._blob_schema.is_some()
259
+ }
260
+
261
pub fn bytes(&self) -> Cow<[u8]> {
262
(&self.value).into()
263
@@ -391,7 +395,6 @@ impl PyQuery {
391
395
#[pymodule]
392
396
#[pyo3(name = "tribles")]
393
397
pub fn tribles_python(m: &Bound<'_, PyModule>) -> PyResult<()> {
394
- //m.add_class::<PyValue>()?;
398
m.add_class::<PyTribleSet>()?;
399
m.add_class::<PyId>()?;
400
m.add_class::<PyValue>()?;
0 commit comments