Spaces:
Runtime error
Runtime error
Download database/__init__.py from qqqsfasdf/Games-In-Arabic: direct link, hf CLI and curl.
- Browser
- Download file 639 Bytes
-
https://huggingface.co/spaces/qqqsfasdf/Games-In-Arabic/resolve/main/database/__init__.py
- Command line
-
hf download hf://spaces/qqqsfasdf/Games-In-Arabic/database/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/qqqsfasdf/Games-In-Arabic/resolve/main/database/__init__.py
639 Bytes
| # database/__init__.py | |
| from database.schema import init_db, rebuild_fts | |
| from database.users import ( | |
| register_user, get_user, update_username, | |
| increment_search_count, get_total_users, is_banned, | |
| ) | |
| from database.posts import ( | |
| post_exists, insert_post, delete_post, | |
| get_total, get_stats_by_platform, | |
| ) | |
| from database.subscribers import ( | |
| get_subscriber, upsert_subscriber, remove_subscriber, | |
| get_free_game_subscribers, get_translation_subscribers, | |
| get_total_subscribers, | |
| ) | |
| from database.free_games_sent import ( | |
| has_been_sent, mark_as_sent, mark_batch_sent, | |
| get_unsent_subscribers, clean_old_records, | |
| ) | |