code: def get_effective_tags(self):
          
          tags = self.patroni.tags.copy()
          # _disable_sync could be modified concurrently, but we don't care as attribute get and set are atomic.
          if self._disable_sync > 0:
              tags['nosync'] = True
          return tags
docs: Return configuration tags merged with dynamically applied tags.