kolfild26 commented on PR #27319: URL: https://github.com/apache/airflow/pull/27319#issuecomment-1305556682
@bdsoha applied. @eladkal Some tests failed during [the last run](https://github.com/apache/airflow/actions/runs/3406646740/jobs/5668345263) in `pre-commit run isort`, `pre-commit run run-mypy`, `pre-commit run black`. I ran locally again. Fixed `isort` and `mypy` errors. `black` did not point to any errors in my env. Also I ran `breeze testing tests --test-type "Providers[oracle]"` and one existing (**not mine**) test failed: ``` tests/providers/oracle/operators/test_oracle.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Task(OracleStoredProcedureOperator): test_task_id> context = 'test_context' def execute(self, context: Context): self.log.info("Executing: %s", self.procedure) hook = OracleHook(oracle_conn_id=self.oracle_conn_id) > ti=context.get("task_instance") AttributeError: 'str' object has no attribute 'get' ``` Here is `context` mocked as `str`. Surely it has no `get` method. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
