| 34 | use pyo3::prelude::*; |
| 35 | |
| 36 | pub fn base_node_state_module(py: Python<'_>) -> PyResult<Bound<'_, PyModule>> { |
| 37 | let m = PyModule::new(py, "node_state")?; |
| 38 | add_classes!( |
| 39 | &m, |
| 40 | PyNodeGroups, |
| 41 | DegreeView, |
| 42 | NodeStateUsize, |
| 43 | NodeStateOptionUsize, |
| 44 | NodeStateU64, |
| 45 | NodeStateOptionI64, |
| 46 | NodeStateOptionEventTime, |
| 47 | NodeStateOptionDateTime, |
| 48 | IdView, |
| 49 | NodeStateGID, |
| 50 | EarliestTimeView, |
| 51 | EarliestTimestampView, |
| 52 | EarliestEventIdView, |
| 53 | EarliestDateTimeView, |
| 54 | LatestTimeView, |
| 55 | LatestTimestampView, |
| 56 | LatestEventIdView, |
| 57 | LatestDateTimeView, |
| 58 | NameView, |
| 59 | NodeStateString, |
| 60 | HistoryView, |
| 61 | HistoryTimestampView, |
| 62 | HistoryDateTimeView, |
| 63 | HistoryEventIdView, |
| 64 | IntervalsView, |
| 65 | IntervalsFloatView, |
| 66 | IntervalsIntegerView, |
| 67 | EdgeHistoryCountView, |
| 68 | UsizeIterable, |
| 69 | NodeTypeView, |
| 70 | NodeStateOptionStr, |
| 71 | NodeStateListDateTime, |
| 72 | NodeStateWeightedSP, |
| 73 | NodeStateF64, |
| 74 | NodeStateOptionF64, |
| 75 | NodeStateNodes, |
| 76 | NodeStateReachability, |
| 77 | NodeStateListF64, |
| 78 | NodeStateMotifs, |
| 79 | NodeStateHits, |
| 80 | NodeStateHistory, |
| 81 | NodeStateHistoryTimestamp, |
| 82 | NodeStateHistoryDateTime, |
| 83 | NodeStateHistoryEventId, |
| 84 | NodeStateIntervals, |
| 85 | NodeStateSEIR, |
| 86 | NodeLayout, |
| 87 | NodeStateF64String, |
| 88 | PyOutputNodeState, |
| 89 | ); |
| 90 | Ok(m) |
| 91 | } |