Skip to content

Commit a8e78aa

Browse files
committed
don't mentioned StreamConfig
1 parent 291ed69 commit a8e78aa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ioos_qc/config.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def __init__(self, source, version=None, default_stream_key='_stream'):
261261
# Return a list with just one ContextConfig
262262
self._calls += list(ContextConfig(self.config).calls)
263263
elif dict_depth(self.config) >= 4:
264-
# This is a StreamConfig
264+
# This is a Config
265265
self._calls += list(ContextConfig(odict(streams=self.config)).calls)
266266
else:
267267
# This is a QcConfig
@@ -353,7 +353,7 @@ def add(self, source) -> None:
353353

354354

355355
class ContextConfig:
356-
"""A collection of a Region, a TimeWindow and a list of StreamConfig objects
356+
"""A collection of a Region, a TimeWindow and a list of Config objects
357357
358358
Defines a set of quality checks to run against multiple input streams.
359359
This can include a region and a time window to subset any DataStreams by before running checks.
@@ -366,11 +366,11 @@ class ContextConfig:
366366
ending: 2020-04-01T00:00:00Z
367367
streams:
368368
variable1: # stream_id
369-
qartod: # StreamConfig
369+
qartod: # Config
370370
location_test:
371371
bbox: [-80, 40, -70, 60]
372372
variable2: # stream_id
373-
qartod: # StreamConfig
373+
qartod: # Config
374374
gross_range_test:
375375
suspect_span: [1, 11]
376376
fail_span: [0, 12]
@@ -382,7 +382,7 @@ class ContextConfig:
382382
config (odict): dict representation of the parsed ContextConfig source
383383
region (GeometryCollection): A `shapely` object representing the valid geographic region
384384
window (namedtuple): A TimeWindow object representing the valid time period
385-
streams (odict): dict representation of the parsed StreamConfig objects
385+
streams (odict): dict representation of the parsed Config objects
386386
"""
387387

388388
def __init__(self, source: ConfigTypes):

0 commit comments

Comments
 (0)