code: def set_tenant(self, tenant, include_public=True):
          
          self.tenant = tenant
          self.schema_name = tenant.schema_name
          self.include_public_schema = include_public
          self.set_settings_schema(self.schema_name)
          self.search_path_set = False
docs: Main API method to current database schema,
          but it does not actually modify the db connection.