PySpark referenceClassesSparkSessiongetTagsOn this pagegetTags Get the tags that are currently set to be assigned to all the operations started by this thread. Syntax getTags() Returns set of str Set of tags assigned to operations started by this thread.