uranusjr commented on code in PR #25296:
URL: https://github.com/apache/airflow/pull/25296#discussion_r936287827
##########
airflow/plugins_manager.py:
##########
@@ -113,7 +113,7 @@ class EntryPointSource(AirflowPluginSource):
"""Class used to define Plugins loaded from entrypoint."""
def __init__(self, entrypoint: importlib_metadata.EntryPoint, dist:
importlib_metadata.Distribution):
- self.dist = dist.metadata['name']
+ self.dist = dist.metadata['Name']
Review Comment:
Python pacakge metadata keys are case-insensitive, I use `Name` ([the case
used by the
standard](https://packaging.python.org/en/latest/specifications/core-metadata/))
everywhere so tests are easier to write.
--
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]