Skip to content

Commit 5498fee

Browse files
committed
chore: add segments from rpc datasource
1 parent 23fd2da commit 5498fee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/datasource_rpc/forestadmin/datasource_rpc/datasource.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def create_collection(self, collection_name, collection_schema):
7070
collection.add_rpc_action(action_name, action_schema)
7171

7272
collection._schema["charts"] = {name: None for name in collection_schema["charts"]}
73+
collection.add_segments(collection_schema["segments"])
7374

7475
self.add_collection(collection)
7576

0 commit comments

Comments
 (0)