uranusjr commented on a change in pull request #15212:
URL: https://github.com/apache/airflow/pull/15212#discussion_r607593656
##########
File path: airflow/utils/platform.py
##########
@@ -57,3 +58,21 @@ def get_airflow_git_version():
log.debug(e)
return git_version
+
+
+def getuser() -> str:
+ """
+ Gets the username associated with the current user, or a fallback
+ representation if there is no username (stringified UID)
Review comment:
Need to be update this to match the actual implementation.
Edit: Some *Note - we don't fallback to os.getuid() here* comments above
seem out of place as well.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]