potiuk edited a comment on issue #19891: URL: https://github.com/apache/airflow/issues/19891#issuecomment-1009754363
@ashb @uranusjr @jedcunningham (others): that actually reminded me that we have not decided what to do with .pyi files. As mentioned in https://github.com/apache/airflow/issues/19891#issuecomment-1001531572 > **This is a very good point. Technically we should do it before we reease the files in our source package. I am not sure if we want to release them, but this is another question which i think will need to be answered separately - and I think we shoud have a spearate discussion on how and whether to release them: > * we could not release them and only leave them in the repo > * we could release them in sources or > * we could release a separate typeshed package for those who want to use mypy https://github.com/python/typeshed I think some of the important stub files (Context especially) we should directly include in "airflow" package. But some others not (especially if we decide to leave them - for now at least - to solve some of the "default args + examples" case, we should not include). Currently we do not include any of the stub files (and we do not have a typeshed package). We do not have a big number of stub files yet - most of them are provider's "workaround". I am quite sure we should include context.pyi - not sure about db_types/functools. ``` ./airflow/utils/context.pyi ./airflow/migrations/db_types.pyi ./airflow/compat/functools.pyi ./airflow/providers/amazon/aws/operators/eks.pyi ./airflow/providers/amazon/aws/operators/s3.pyi ./airflow/providers/amazon/aws/sensors/eks.pyi ./airflow/providers/alibaba/cloud/operators/oss.pyi ./airflow/providers/microsoft/azure/operators/wasb_delete_blob.pyi ./airflow/providers/microsoft/azure/operators/cosmos.pyi ./airflow/providers/microsoft/azure/transfers/azure_blob_to_gcs.pyi ./airflow/providers/microsoft/azure/transfers/local_to_wasb.pyi ./airflow/providers/microsoft/azure/sensors/wasb.pyi ./airflow/providers/microsoft/azure/sensors/cosmos.pyi ./airflow/providers/asana/operators/asana_tasks.pyi ./airflow/providers/apache/cassandra/sensors/record.pyi ./airflow/providers/apache/cassandra/sensors/table.pyi ``` -- 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]
