Lines Matching full:datastore
5 """Marshal various scheduling configs. Store them into the UFS datastore
6 through the Google datastore API.
8 By default, this script converts a few config-related protos into datastore
18 The lists are parsed and individual entities are extracted. Using the datastore
19 client specified, it encodes the protos as datastore entities and stores them
20 into the UFS datastore.
28 from google.cloud import datastore
47 # datastore constants
78 UFS datastore based on env.
100 UFS datastore based on env.
110 """Take a ConfigBundle or FlatConfig and store it an an entity in the UFS datastore."""
125 entity = datastore.Entity(
132 logging.info('update_config: putting entity into datastore for %s', eid)
138 UFS datastore based on env.
148 """Take a DutAttribute and store it in the UFS datastore as a DutAttributeEntity."""
153 entity = datastore.Entity(
160 logging.info('update_dut_attribute: putting entity into datastore for %s',
167 into UFS datastore based on env.
194 """Take a DeviceStability and store it in the UFS datastore as a
205 entity = datastore.Entity(
213 'update_device_stability: putting entity into datastore for %s', eid)
234 ufs_ds_client = datastore.Client(