MCPcopy Create free account
hub / github.com/Pometry/Raphtory / add_field_sep

Method add_field_sep

raphtory-api/src/python/repr.rs:52–58  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

50 }
51
52 fn add_field_sep(&mut self) {
53 if self.has_fields {
54 self.value.push_str(", ");
55 } else {
56 self.has_fields = true;
57 }
58 }
59
60 pub fn add_field<V: Repr>(mut self, name: &str, value: V) -> Self {
61 self.add_field_sep();

Callers 2

add_fieldMethod · 0.80
add_fields_from_iterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected