Skip to content

Commit

Permalink
add experimental parser tracking (#3553)
Browse files Browse the repository at this point in the history
automatic commit by git-black, original commits:
  f460d27
  • Loading branch information
Nathaniel May authored and iknox-fa committed Feb 8, 2022
1 parent f46647e commit b34c0bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/dbt/tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
DEPRECATION_WARN_SPEC = "iglu:com.dbt/deprecation_warn/jsonschema/1-0-0"
LOAD_ALL_TIMING_SPEC = "iglu:com.dbt/load_all_timing/jsonschema/1-0-3"
RESOURCE_COUNTS = "iglu:com.dbt/resource_counts/jsonschema/1-0-0"
EXPERIMENTAL_PARSER = 'iglu:com.dbt/experimental_parser/jsonschema/1-0-0'
EXPERIMENTAL_PARSER = "iglu:com.dbt/experimental_parser/jsonschema/1-0-0"
PARTIAL_PARSER = "iglu:com.dbt/partial_parser/jsonschema/1-0-1"
DBT_INVOCATION_ENV = 'DBT_INVOCATION_ENV'

Expand Down Expand Up @@ -432,16 +432,16 @@ def track_invalid_invocation(config=None, args=None, result_type=None):

def track_experimental_parser_sample(options):
context = [SelfDescribingJson(EXPERIMENTAL_PARSER, options)]
assert active_user is not None, \
assert (
active_user is not None
), "Cannot track experimental parser info when active user is None"

track(
active_user,
category='dbt',
action='experimental_parser',
category="dbt",
action="experimental_parser",
label=get_invocation_id(),
context=context
context=context,
)


Expand Down

0 comments on commit b34c0bf

Please sign in to comment.