Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
4 changes: 4 additions & 0 deletions raphtory-api/src/core/entities/properties/meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ impl Meta {
.zip(self.layer_mapper.all_keys())
}

pub fn all_layer_ids(&self) -> impl Iterator<Item = LayerId> + use<'_> {
self.layer_mapper.all_ids().map(LayerId)
}

pub fn set_metadata_mapper(&mut self, meta: PropMapper) {
self.metadata_mapper = meta;
}
Expand Down
5 changes: 2 additions & 3 deletions raphtory-graphql/src/client/remote_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,14 @@ impl RemoteClient {
mutation SendGraph($path: String!, $graph: String!, $overwrite: Boolean!) {
sendGraph(path: $path, graph: $graph, overwrite: $overwrite)
}
"#
.to_owned();
"#;
let variables = json!({
"path": json!(path),
"graph": json!(encoded_graph),
"overwrite": json!(overwrite),
});

let data = self.query(&query, variables).await?;
let data = self.query(query, variables).await?;
match data.get("sendGraph") {
Some(JsonValue::String(_)) => Ok(()),
_ => Err(ClientError::InvalidResponse(format!(
Expand Down
4 changes: 2 additions & 2 deletions raphtory/src/python/graph/views/graph_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ use crate::{
utils::PyNodeRef,
},
};
use pyo3::{exceptions::PyException, prelude::*, Borrowed};
use pyo3::{prelude::*, Borrowed};
use raphtory_api::{core::storage::arc_str::ArcStr, python::timeindex::PyOptionalEventTime};
use std::{path::PathBuf, sync::OnceLock};
use std::path::PathBuf;

impl<'py> IntoPyObject<'py> for MaterializedGraph {
type Target = PyAny;
Expand Down
Loading