-
Notifications
You must be signed in to change notification settings - Fork 64
Distinct History Object for nodes and edges #2075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
arienandalibi
wants to merge
195
commits into
master
Choose a base branch
from
feature/history-object
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
195 commits
Select commit
Hold shift + click to select a range
2dcdbdb
Implementing HistoryObject for node and edge objects. Currently, the …
arienandalibi 95ad6e5
Updated HistoryObject to now be called HistoryImplemented, and Histor…
arienandalibi 0a538a1
Updated HistoryImplemented to have merge() and compose() functions. T…
arienandalibi 9e0ca20
Updated history object. Began implementing the pyo3 interface. The py…
arienandalibi 79c83ce
Implemented preliminary PyO3 file which currently compiles. We can ge…
arienandalibi 4ea13e9
Added PartialEq and Eq to History Objects, which compare their iterat…
arienandalibi 84d9cd4
History object is now fully accessible in python. Merge and composite…
arienandalibi 88ba456
Added compose_from_histories() function.
arienandalibi 08e769d
CompositeHistory object now uses Arc instead of Box as its pointers. …
arienandalibi 60f99b6
Nodes and Edges return the history object when calling history on the…
arienandalibi 4b92da4
Implemented tests for History object in graphql using python. Tested …
arienandalibi ad5ebd3
Renamed TemporalProp to TemporalProperty
arienandalibi 5eb9ce7
Merge remote-tracking branch 'origin/master' into feature/history-object
arienandalibi 2b824c1
Synced with master and ran rustfmt
arienandalibi 60e37b4
Made TimeIndexEntry available in Python so that they can be created a…
arienandalibi 9cc58b1
Ran rustfmt
arienandalibi e5e47e6
Trying to change NodeOp for History to return the history object rath…
arienandalibi 5e6c6e9
Renamed the history operation from History to HistoryOp, the history …
arienandalibi 56ec538
Updated the rest of the code to work with new history object being re…
arienandalibi 0c0614e
Implemented InternalHistoryOps for TemporalProperties
arienandalibi fc54718
Changed InternalHistoryOps implementation from TemporalProperties to …
arienandalibi c2cc72c
Fixed some python errors regarding the history object
arienandalibi e5bc7ea
Merge remote-tracking branch 'origin/master' into feature/history-object
arienandalibi 8ef8f88
Updated TimeSemantics node_earliest_time() and node_latest_time() to …
arienandalibi d015525
All tests pass using the history object
arienandalibi 32966f7
Implemented error type TimeError for errors related to time operation…
arienandalibi c5ced40
Changed most TimeErrors for GraphErrors for consistency. Went back to…
arienandalibi d86b9fb
Made TemporalPropertyView Clone. Changed it's history function to ret…
arienandalibi ce6df72
Fixed python interface for temporal props
arienandalibi 0ab5e21
Attempted to fix errors in lazy_node_state macros, doesn't work. We n…
arienandalibi 0c7eb83
Implemented Intervals object so that we can work on intervals between…
arienandalibi b682909
Merge remote-tracking branch 'origin/master' into feature/history-obj…
arienandalibi 93c531e
Merge remote-tracking branch 'origin/master' into feature/history-obj…
arienandalibi 7c189d6
Changing datetime functions to return Result<Option, Error> because d…
arienandalibi 9d32cb5
Merge remote-tracking branch 'origin/feature/history-object' into fea…
arienandalibi d8dc6de
reformat using rustfmt
arienandalibi c7a1316
History Object no longer has errors, implemented iter and iter_rev fo…
arienandalibi c0d3801
Changed HistoryOp to return the history object instead of Vec<i64>. H…
arienandalibi 4253612
Added ops::EarliestTime/ops::LatestTime implementations to history ob…
arienandalibi e702eb1
Changed many time operations (such as history, earliest_time, latest_…
arienandalibi f2d003b
Implemented _rev functions that return iterators over edge histories …
arienandalibi 780d5e2
Implemented _rev functions that return iterators over node histories …
arienandalibi 0a7e0eb
Created HistoryRef which holds references to items instead of owning …
arienandalibi e94c1fd
Updated intervals to hold an item which yields time entries instead o…
arienandalibi e2e0bf3
Updated intervals to hold a reference to an item which yields time en…
arienandalibi c9411d8
Changed EdgeViewOps history() function to return History object inste…
arienandalibi 1a4bd39
Added t(), dt(), and s() functions to History object. They return a h…
arienandalibi b682502
Added history() function to Nodes struct which returns History object…
arienandalibi 16d9386
Changed EdgeView time functions to return TimeIndexEntry instead of i…
arienandalibi c386730
Implemented history functions directly on LazyNodeState<HistoryOp...>…
arienandalibi 4fdc829
Added support for graph.nodes().neighbours().combined_history() and g…
arienandalibi 8d288fa
Working on macros so that History object can be implemented into pyth…
arienandalibi cd76ede
Added Nested types on Result iterables types for Python. Fixed all Ed…
arienandalibi 94172c6
Changed PyEdge and PyNode history() functions to return history objec…
arienandalibi 14bcb1c
Added t, dt, s, intervals functions in python. Changed __list__ and c…
arienandalibi 077e61c
Fixed PyBorrowingIterator for Result types. Created new macro and fun…
arienandalibi 121ef1f
Removed _date_time functions (earliest_date_time, latest_date_time, h…
arienandalibi 4da5f70
Removed histories, histories_rev, histories_date_time from TemporalPr…
arienandalibi da33809
Changed timeline_start and timeline_end to return Option<TimeIndexEnt…
arienandalibi 6ec88cf
Changed IntoTime to return TimeIndexEntry instead of i64. Added AsTim…
arienandalibi 758ac71
Merge branch 'refs/heads/master' into feature/history-object
arienandalibi 8497493
Fixed some errors after merge. Changed node_earliest_time_window and …
arienandalibi 76fcae5
Changed windowing functions to use TimeIndexEntry instead of i64, esp…
arienandalibi 99f51ce
Moved IntoTime (and associated traits), as well as PyTime to raphtory…
arienandalibi 94b7c35
Updated all function arguments which were previously PyTime to now be…
arienandalibi 0f10907
Current progress in implementing Python versions of LazyNodeState and…
arienandalibi 966e692
Implemented Python wrapper for NodeState of Result<Option<DateTime<Ut…
arienandalibi 294a047
Implemented Python wrapper for LazyNodeState of Map<EarliestTime, Res…
arienandalibi 2bee056
Re-introduced NodeOpFilter for Map so that OneHopFilter operations ca…
arienandalibi af6351c
Implemented Ord and PartialOrd for History objects. Implemented FromP…
arienandalibi 58532b2
Removed Ord and PartialOrd implementations for History object, they d…
arienandalibi c67a067
Fixed GraphQL errors. Added more functions to GqlHistory available in…
arienandalibi ab677af
Added GqlTimeIndexEntry, a GraphQL wrapper for TimeIndexEntry. Time o…
arienandalibi 8465e01
Changed GqlHistory to return GqlTimeIndexEntry instead of i64 for tim…
arienandalibi 13abbcd
Updates to GraphQL history objects: updated all functions to use bloc…
arienandalibi 1a4d906
Merge remote-tracking branch 'origin/master' into feature/history-object
arienandalibi b0b7f02
Fixed errors after merge
arienandalibi 2833b94
Fixed tests after merge
arienandalibi 62a72c8
Re-added pometry-storage-private submodule at commit fac0f56
arienandalibi 7d80b94
Activated private storage. Moved some Python logic around, moved some…
arienandalibi fb28f14
Changed t, dt, secondary_index, and history functions to not require …
arienandalibi f28ad2b
Merge branch 'master' into feature/history-object
arienandalibi a4e409d
Added support for extracting TimeIndexEntry from [int, int] in Python…
arienandalibi 0a36033
Changed TimeIndexEntry parsing from Python to allow tuples/lists (of …
arienandalibi dff587d
Fixed the rust tests, they all pass. Parquet serialization tests only…
arienandalibi c900c0f
Updated stubs. Updated stub_gen and makefile to work with conda envir…
arienandalibi 4305b2a
Added t, dt, secondary_index, and intervals functions on NestedHistor…
arienandalibi 899d830
Added __repr__() for different history types (t, dt, secondary_index,…
arienandalibi 327359d
Current progress in fixing the python tests
arienandalibi b32a2f7
Added t, dt, secondary_index on python LazyNodeStates (for earliest a…
arienandalibi fbd375d
Fixed all python tests
arienandalibi 3f24df3
Fixed rust-side t, dt, secondary_index, intervals functions on LazyNo…
arienandalibi 7412556
Current progress in resolving issues
arienandalibi 1f91962
Current progress in resolving issues
arienandalibi 4d33512
Current progress in resolving issues. Added first() and last() on his…
arienandalibi f59d448
Added DeletionHistory to History. edge1.deletions() now returns a His…
arienandalibi 803715c
Added rust-side t, dt, and secondary_index functions for LazyNodeStat…
arienandalibi 62c3a54
Fixed different Time traits in general. Moved FromPyObject for time i…
arienandalibi f83ed1a
Current progress in resolving issues. sorted() and groups() now pull …
arienandalibi f329de3
Added IntoArcDynHistoryOps to define how an InternalHistoryOps object…
arienandalibi dfcaaf8
Changed WindowTimeSemantics to use a Range<TimeIndexEntry> instead of…
arienandalibi b14e7f0
Got rid of NodeState<Result<Option<DateTime>>>. Any functions that us…
arienandalibi 12a4710
Changed CompositeHistory to hold Box<[Box<dyn InternalHistoryOps + 'a…
arienandalibi c430004
Removed date_time on edge/edges and changed time to return TimeIndexE…
arienandalibi 9fc6836
Updated GraphQL time-based functions and Windows to take GqlTimeInput…
arienandalibi 1debd5a
Renamed Window in vectorised_graph.rs to VectorisedGraphWindow to avo…
arienandalibi caf3a65
Current progress in fixing the docstrings.
arienandalibi c613aae
Finished fixing the docstrings.
arienandalibi 35c4361
Ran tidy-public
arienandalibi 843f5ed
Merge branch 'master' into feature/history-object
arienandalibi 9e98496
Regenerated python stubs and graphql schema after merge.
arienandalibi 7f52ea1
Merge branch 'master' into feature/history-object
arienandalibi 0977a56
Fixed "Option" -> "Optional" typo in Python docs
arienandalibi e38073e
Removed unused imports, added some GraphQL docs, added some some clas…
arienandalibi 1314515
Fixed doc tests and storage tests.
arienandalibi edb3c8c
Added python classes to module and fixed iterable return types.
arienandalibi bc60d93
Fixed some tests. Removed Iterable types from added Python classes, t…
arienandalibi 7bd6040
chore: apply tidy-public auto-fixes
github-actions[bot] bad9fae
Updated some error messages in raphtory-benchmark
arienandalibi 930ccdf
Merge branch 'master' into feature/history-object
arienandalibi d90509c
Fixed benchmark
arienandalibi 9d15a56
Merge branch 'master' into feature/history-object
arienandalibi 850a65c
Merge branch 'master' into feature/history-object
arienandalibi 71e0445
Fixed merge issues. Added python tests for history object.
arienandalibi c6cd030
Merge branch 'master' into feature/history-object
arienandalibi fa18f7a
Added tests for checking TimeIndexEntry/InputTime sting parsing, equa…
arienandalibi 46b105b
chore: apply tidy-public auto-fixes
github-actions[bot] 6054c09
Removed histories_timestamps(). Added GraphQL tests for datetimes, fo…
arienandalibi d61ab6a
chore: apply tidy-public auto-fixes
github-actions[bot] 263dbc0
Allowed history objects to be compared with lists in python. The list…
arienandalibi 794fbc3
Fixed GraphQL server crashing when invalid format string is passed to…
arienandalibi 72b0023
Merge branch 'master' into feature/history-object
arienandalibi 98ade36
Fixed merge issues
arienandalibi d07a5ab
Fixed failing rust tests
arienandalibi e25fb8c
Fixed failing rust storage tests except for one
arienandalibi 2f52817
Merge branch 'master' into feature/history-object
arienandalibi 317c2eb
Renaming TimeIndexEntry to EventTime. Updating all documentation, API…
arienandalibi 138d9f9
Merge branch 'master' into feature/history-object
arienandalibi 66a8421
Still renaming TimeIndexEntry to EventTime. Updating all documentatio…
arienandalibi 3a28fd6
Renaming secondary_index from old TimeIndexEntry terminology to event…
arienandalibi d0245e6
Replacing secondary_index terminology from old TimeIndexEntry to even…
arienandalibi 1909581
Replacing secondary_index terminology from old TimeIndexEntry to even…
arienandalibi ff31909
Fixed issues
arienandalibi cdc947c
docs fixes
jbaross-pometry a7a9d14
update object name to EventTime
jbaross-pometry 19b8420
Changed many unnecessary try_into_time() function calls with into_tim…
arienandalibi 3dff619
Fixing tests
arienandalibi ea42008
Moved impl blocks for EventTime iterables to a separate file, so cust…
arienandalibi 7d81d77
chore: apply tidy-public auto-fixes
github-actions[bot] 5108697
Reverted previous changes made to Makefile
arienandalibi f3dc320
Cleaned up custom node_state files
arienandalibi 57e39a9
Renamed epoch to timestamp for EventTime
arienandalibi 7b40ffe
Fixed tests
arienandalibi 0bd34d5
Merge branch 'master' into feature/history-object
arienandalibi b6df670
rust format and general merge fixes
arienandalibi e0d1976
chore: apply tidy-public auto-fixes
github-actions[bot] ec39041
moved history tests to tests folder
arienandalibi 7dc8d73
cleaned up docs
arienandalibi 9655166
chore: apply tidy-public auto-fixes
github-actions[bot] d4e309f
removed changes previously made to stub_gen for debugging purposes
arienandalibi 0f53219
Added intervals functions such as mean, median, min, max on LazyNodeS…
arienandalibi 7c297a8
Merge branch 'master' into feature/history-object
arienandalibi b06d985
Fixed issues after merge
arienandalibi af232e0
Fixed tests after merge
arienandalibi 5ea0f75
chore: apply tidy-public auto-fixes
github-actions[bot] f1c3fe4
Merge branch 'master' into feature/history-object
arienandalibi 46c7cf6
Fixed tests after merge
arienandalibi d55bc14
Merge branch 'master' into feature/history-object
arienandalibi 9e6fc1a
Updated stubs
arienandalibi 8e9380e
Fixed storage feature imports
arienandalibi 9b256f2
Fixed failing tests and updated earliest_edge_time and latest_edge_ti…
arienandalibi 2bc4f86
chore: apply tidy-public auto-fixes
github-actions[bot] 94e3241
Fixed failing test
arienandalibi 43b8af8
chore: apply tidy-public auto-fixes
github-actions[bot] b359a1d
Merge branch 'master' into feature/history-object
arienandalibi d0ae3b1
Merge branch 'master' into feature/history-object
arienandalibi 52156ef
chore: apply tidy-public auto-fixes
github-actions[bot] e79c69e
Merge branch 'master' into feature/history-object
miratepuffin 3089666
chore: apply tidy-public auto-fixes
github-actions[bot] f02c314
Adding PyOptionalEventTime, a python wrapper for Option<EventTime> so…
arienandalibi 73fac89
Changing python functions that return Option<EventTime> to return PyO…
arienandalibi 02bcd3d
PyOptionalEventTime: added repr() and added it to add_classes!
arienandalibi 60dcaba
Added comparison functions for PyOptionalEventTime. They can be compa…
arienandalibi 0b93e95
Merge branch 'master' into feature/history-object
arienandalibi 7ba5934
General fixes and clean up after merge
arienandalibi efda96c
Added comparison to PyEventTime for PyOptionalEventTime. Added tests …
arienandalibi f0d528b
Added __getitem__ on history objects to allow subscript notation: his…
arienandalibi 3ac89ad
Merge branch 'master' into feature/history-object
arienandalibi b8626d2
Added a GqlOptionalEventTime type so that if a function returns None,…
arienandalibi d0ce370
Merge branch 'master' into feature/history-object
arienandalibi 051171e
Changed GqlEventTime to hold an Option<EventTime> and got rid of GqlO…
arienandalibi 6c49744
Fixed GraphQL tests
arienandalibi bed7107
Added support for ingesting `date` types from python, previously it w…
arienandalibi 7055c7f
Added IntoIterator for History<T> wrapper objects when T: 'static. Ad…
arienandalibi dbfd46e
Merge branch 'master' into feature/history-object
arienandalibi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.