PamGram/metadata/pool/pool.py
洛水居室 233e7ab58d
♻️ PaiGram V4
Co-authored-by: luoshuijs <luoshuijs@outlook.com>
Co-authored-by: Karako <karakohear@gmail.com>
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-03-14 09:27:22 +08:00

14 lines
328 B
Python

from metadata.pool.pool_200 import POOL_200
from metadata.pool.pool_301 import POOL_301
from metadata.pool.pool_302 import POOL_302
def get_pool_by_id(pool_type):
if pool_type == 200:
return POOL_200
if pool_type == 301:
return POOL_301
if pool_type == 302:
return POOL_302
return None