Skip to content

Commit

Permalink
cleanup docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk committed Jul 19, 2024
1 parent 6a8a522 commit ff096d7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/dbt/clients/jinja_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ def statically_parse_ref(input: str) -> RefArgs:
- "ref('my_model_a', version=3)"
- "ref('package', 'my_model_a', version=3)"
If input is not a well-formed jinja expression, TODO is raised.
If input is not a valid ref expression, TODO is raised.
If input is not a well-formed jinja ref expression, a ParsingError is raised.
"""
try:
statically_parsed = py_extract_from_source(f"{{{{ {input} }}}}")
Expand All @@ -190,8 +189,7 @@ def statically_parse_source(input: str) -> Tuple[str, str]:
* examples:
- "source('my_source_schema', 'my_source_name')"
If input is not a well-formed jinja expression, TODO is raised.
If input is not a valid source expression, TODO is raised.
If input is not a well-formed jinja source expression, ParsingError is raised.
"""
try:
statically_parsed = py_extract_from_source(f"{{{{ {input} }}}}")
Expand Down

0 comments on commit ff096d7

Please sign in to comment.