moiseenkov commented on PR #33386: URL: https://github.com/apache/airflow/pull/33386#issuecomment-1695841919
It turned out that `proto-plus` dynamically converts `Timestamp` to `DatetimeWithNanoseconds` which inherits from `datetime.datetime`. So, this dynamic conversion causes static check failure. That's why I slightly updated the operator's code and added the `# type: ignore` directive to pass this static check. @potiuk , is there any cleaner way to overcome the static check failure or is my workaround enough? - proto-plus docs: https://proto-plus-python.readthedocs.io/en/latest/marshal.html - the guilty line of code that converts value: https://github.com/googleapis/proto-plus-python/blob/main/proto/marshal/rules/dates.py#L39 -- 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]
