code: def listPrimaryDatasets(self, primary_ds_name="", primary_ds_type=""):
          
          conn = self.dbi.connection()
          try:
              result = self.primdslist.execute(conn, primary_ds_name, primary_ds_type)
              if conn: conn.close()
              return result
          finally:
              if conn:
                  conn.close()
docs: Returns all primary dataset if primary_ds_name or primary_ds_type are not passed.