vnai 2.0.5__py3-none-any.whl → 2.0.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
vnai/scope/promo.py
CHANGED
@@ -10,6 +10,8 @@ import threading
|
|
10
10
|
import time
|
11
11
|
import urllib.parse
|
12
12
|
|
13
|
+
_vnii_check_attempted = False
|
14
|
+
|
13
15
|
# Enum AdCategory (tương thích với vnii)
|
14
16
|
class AdCategory:
|
15
17
|
FREE = 0
|
@@ -373,11 +375,6 @@ Khám phá các tính năng mới nhất và tham gia cộng đồng để nhậ
|
|
373
375
|
# Singleton instance for module-level use
|
374
376
|
manager = ContentManager()
|
375
377
|
|
376
|
-
# Ép buộc hiện quảng cáo ngay khi import nếu là free user
|
377
|
-
if not getattr(manager, 'is_paid_user', False):
|
378
|
-
manager.present_content(context="auto_import")
|
379
|
-
|
380
|
-
|
381
378
|
def present(context: str = "init", ad_category: int = AdCategory.FREE) -> None:
|
382
379
|
"""
|
383
380
|
Shortcut to ContentManager.present_content for external callers.
|
@@ -8,9 +8,9 @@ vnai/flow/queue.py,sha256=b9YKUbiXDZRC3fVgEnA77EO0EMXAi8eCoBkHnAUI5Sc,4162
|
|
8
8
|
vnai/flow/relay.py,sha256=XA4dognPrZ7IQbrgckeEjFw80IgBoK7i8LRmd1A4vR8,17058
|
9
9
|
vnai/scope/__init__.py,sha256=overJZ_UiEfBRNcSieE1GPU_9X3oS4C5l6JeBaFFVxk,267
|
10
10
|
vnai/scope/profile.py,sha256=6LL7Djke9F1HVA9eEExud2jZ5yGUfy9_NYt68nIj2-8,30737
|
11
|
-
vnai/scope/promo.py,sha256
|
11
|
+
vnai/scope/promo.py,sha256=eiLYSo5UTKt4W1tz4NuMFWKHIxEIpq4yrueFC_Y8keQ,19054
|
12
12
|
vnai/scope/state.py,sha256=LlcZNKBy2mcAnD765BO2Tlv3Zzbak2TOEz4RUPMCFZ8,7490
|
13
|
-
vnai-2.0.
|
14
|
-
vnai-2.0.
|
15
|
-
vnai-2.0.
|
16
|
-
vnai-2.0.
|
13
|
+
vnai-2.0.7.dist-info/METADATA,sha256=zuMT82A8fd1MGEE__nwuGIeN_XWDzbMMEj8EEy4oGTM,666
|
14
|
+
vnai-2.0.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
15
|
+
vnai-2.0.7.dist-info/top_level.txt,sha256=4zI0qZHePCwvgSqXl4420sBcd0VzZn4MEcRsAIFae3k,5
|
16
|
+
vnai-2.0.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|