@@ -169,77 +169,77 @@ def tables(self) -> GemTableCollection:
169
169
@property
170
170
def property_templates (self ) -> PropertyTemplateCollection :
171
171
"""Return a resource representing all property templates in this dataset."""
172
- return PropertyTemplateCollection (project_id = self .uid , dataset_id = None , session = self .session )
172
+ return PropertyTemplateCollection (project_id = self .uid , dataset_id = None , session = self .session , team_id = self . team_id )
173
173
174
174
@property
175
175
def condition_templates (self ) -> ConditionTemplateCollection :
176
176
"""Return a resource representing all condition templates in this dataset."""
177
- return ConditionTemplateCollection (project_id = self .uid , dataset_id = None , session = self .session )
177
+ return ConditionTemplateCollection (project_id = self .uid , dataset_id = None , session = self .session , team_id = self . team_id )
178
178
179
179
@property
180
180
def parameter_templates (self ) -> ParameterTemplateCollection :
181
181
"""Return a resource representing all parameter templates in this dataset."""
182
- return ParameterTemplateCollection (project_id = self .uid , dataset_id = None , session = self .session )
182
+ return ParameterTemplateCollection (project_id = self .uid , dataset_id = None , session = self .session , team_id = self . team_id )
183
183
184
184
@property
185
185
def material_templates (self ) -> MaterialTemplateCollection :
186
186
"""Return a resource representing all material templates in this dataset."""
187
- return MaterialTemplateCollection (project_id = self .uid , dataset_id = None , session = self .session )
187
+ return MaterialTemplateCollection (project_id = self .uid , dataset_id = None , session = self .session , team_id = self . team_id )
188
188
189
189
@property
190
190
def measurement_templates (self ) -> MeasurementTemplateCollection :
191
191
"""Return a resource representing all measurement templates in this dataset."""
192
- return MeasurementTemplateCollection (project_id = self .uid , dataset_id = None , session = self .session )
192
+ return MeasurementTemplateCollection (project_id = self .uid , dataset_id = None , session = self .session , team_id = self . team_id )
193
193
194
194
@property
195
195
def process_templates (self ) -> ProcessTemplateCollection :
196
196
"""Return a resource representing all process templates in this dataset."""
197
- return ProcessTemplateCollection (project_id = self .uid , dataset_id = None , session = self .session )
197
+ return ProcessTemplateCollection (project_id = self .uid , dataset_id = None , session = self .session , team_id = self . team_id )
198
198
199
199
@property
200
200
def process_runs (self ) -> ProcessRunCollection :
201
201
"""Return a resource representing all process runs in this dataset."""
202
- return ProcessRunCollection (project_id = self .uid , dataset_id = None , session = self .session )
202
+ return ProcessRunCollection (project_id = self .uid , dataset_id = None , session = self .session , team_id = self . team_id )
203
203
204
204
@property
205
205
def measurement_runs (self ) -> MeasurementRunCollection :
206
206
"""Return a resource representing all measurement runs in this dataset."""
207
- return MeasurementRunCollection (project_id = self .uid , dataset_id = None , session = self .session )
207
+ return MeasurementRunCollection (project_id = self .uid , dataset_id = None , session = self .session , team_id = self . team_id )
208
208
209
209
@property
210
210
def material_runs (self ) -> MaterialRunCollection :
211
211
"""Return a resource representing all material runs in this dataset."""
212
- return MaterialRunCollection (project_id = self .uid , dataset_id = None , session = self .session )
212
+ return MaterialRunCollection (project_id = self .uid , dataset_id = None , session = self .session , team_id = self . team_id )
213
213
214
214
@property
215
215
def ingredient_runs (self ) -> IngredientRunCollection :
216
216
"""Return a resource representing all ingredient runs in this dataset."""
217
- return IngredientRunCollection (project_id = self .uid , dataset_id = None , session = self .session )
217
+ return IngredientRunCollection (project_id = self .uid , dataset_id = None , session = self .session , team_id = self . team_id )
218
218
219
219
@property
220
220
def process_specs (self ) -> ProcessSpecCollection :
221
221
"""Return a resource representing all process specs in this dataset."""
222
- return ProcessSpecCollection (project_id = self .uid , dataset_id = None , session = self .session )
222
+ return ProcessSpecCollection (project_id = self .uid , dataset_id = None , session = self .session , team_id = self . team_id )
223
223
224
224
@property
225
225
def measurement_specs (self ) -> MeasurementSpecCollection :
226
226
"""Return a resource representing all measurement specs in this dataset."""
227
- return MeasurementSpecCollection (project_id = self .uid , dataset_id = None , session = self .session )
227
+ return MeasurementSpecCollection (project_id = self .uid , dataset_id = None , session = self .session , team_id = self . team_id )
228
228
229
229
@property
230
230
def material_specs (self ) -> MaterialSpecCollection :
231
231
"""Return a resource representing all material specs in this dataset."""
232
- return MaterialSpecCollection (project_id = self .uid , dataset_id = None , session = self .session )
232
+ return MaterialSpecCollection (project_id = self .uid , dataset_id = None , session = self .session , team_id = self . team_id )
233
233
234
234
@property
235
235
def ingredient_specs (self ) -> IngredientSpecCollection :
236
236
"""Return a resource representing all ingredient specs in this dataset."""
237
- return IngredientSpecCollection (project_id = self .uid , dataset_id = None , session = self .session )
237
+ return IngredientSpecCollection (project_id = self .uid , dataset_id = None , session = self .session , team_id = self . team_id )
238
238
239
239
@property
240
240
def gemd (self ) -> GEMDResourceCollection :
241
241
"""Return a resource representing all GEMD objects/templates in this dataset."""
242
- return GEMDResourceCollection (project_id = self .uid , dataset_id = None , session = self .session )
242
+ return GEMDResourceCollection (project_id = self .uid , dataset_id = None , session = self .session , team_id = self . team_id )
243
243
244
244
@property
245
245
def table_configs (self ) -> TableConfigCollection :
0 commit comments