Skip to content

Commit

Permalink
remove files before demo
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhong5297 committed Nov 29, 2023
1 parent d98f166 commit 9514f75
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 236 deletions.
220 changes: 0 additions & 220 deletions queries/sudoswap_v2_collections_summar___2615781.sql

This file was deleted.

13 changes: 0 additions & 13 deletions queries/sudoswap_v2_trends___2615782.sql

This file was deleted.

9 changes: 6 additions & 3 deletions scripts/pull_from_dune.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,12 @@

if '-- already part of a query repo' in query.sql:
print('WARNING!!! This query is already part of a query repo')

with open(file_path, 'w', encoding='utf-8') as file:
file.write(f'-- WARNING: this query may be part of multiple repos\n{query.sql}')
else:
with open(file_path, 'w', encoding='utf-8') as file:
file.write(f'-- already part of a query repo\n-- query name: {query.base.name}\n-- query link: https://dune.com/queries/{query.base.query_id}\n\n\n{query.sql}')
print('CREATE: new query file: {}'.format(new_file))
with open(file_path, 'w', encoding='utf-8') as file:
file.write(f'-- already part of a query repo\n-- query name: {query.base.name}\n-- query link: https://dune.com/queries/{query.base.query_id}\n\n\n{query.sql}')



0 comments on commit 9514f75

Please sign in to comment.