Skip to content

Commit

Permalink
Fix few typos (#13450)
Browse files Browse the repository at this point in the history
  • Loading branch information
XD-DENG authored Jan 3, 2021
1 parent d6e1d7b commit 4f494d4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion airflow/models/baseoperator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ def _set_relatives(
raise AirflowException(
"Tried to create relationships between tasks that don't have "
"DAGs yet. Set the DAG for at least one "
"task and try again: {}".format([self] + task_list)
"task and try again: {}".format([self] + task_list)
)

if dag and not self.has_dag():
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/apache/hive/hooks/hive.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ def __init__(self, metastore_conn_id: str = default_conn_name) -> None:
self.metastore = self.get_metastore_client()

def __getstate__(self) -> Dict[str, Any]:
# This is for pickling to work despite the thirft hive client not
# This is for pickling to work despite the thrift hive client not
# being pickable
state = dict(self.__dict__)
del state['metastore']
Expand Down
4 changes: 2 additions & 2 deletions scripts/in_container/run_ci_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ ${COLOR_RED_ERROR}
*
* Run all tests:
*
* ./breeze --backend ${BACKEND} ${EXTRA_ARGS}--python ${PYTHON_MAJOR_MINOR_VERSION} --db-reset --skip-mounting-local-sources --test-type ${TEST_TYPE} tests
* ./breeze --backend ${BACKEND} ${EXTRA_ARGS}--python ${PYTHON_MAJOR_MINOR_VERSION} --db-reset --skip-mounting-local-sources --test-type ${TEST_TYPE} tests
*
* Enter docker shell:
*
* ./breeze --backend ${BACKEND} ${EXTRA_ARGS}--python ${PYTHON_MAJOR_MINOR_VERSION} --db-reset --skip-mounting-local-sources --test-type ${TEST_TYPE} shell
* ./breeze --backend ${BACKEND} ${EXTRA_ARGS}--python ${PYTHON_MAJOR_MINOR_VERSION} --db-reset --skip-mounting-local-sources --test-type ${TEST_TYPE} shell
*
"""
if [[ ${GITHUB_REGISTRY_PULL_IMAGE_TAG=} != "" ]]; then
Expand Down

0 comments on commit 4f494d4

Please sign in to comment.