code: def owner_profile(self) -> 'Profile':
          
          if not self._owner_profile:
              if 'username' in self._node['owner']:
                  owner_struct = self._node['owner']
              else:
                  # Sometimes, the 'owner' structure does not contain the username, only the user's ID.  In that case,
                  # this call triggers downloading of the complete Post metadata struct, where the owner username
                  # is contained.
                  # Note that we cannot use Profile.from_id() here since that would lead us into a recursion.
                  owner_struct = self._full_metadata['owner']
              self._owner_profile = Profile(self._context, owner_struct)
          return self._owner_profile
docs: :class:`Profile` instance of the Post's owner.