niming_igapi/grpc/grpcServer.py
2024-11-21 18:18:06 +00:00

29 lines
454 B
Python

from grpc.postProcessor import upload, remove
def serve():
pass
""" # for testing
def _serve():
print(IG.account_info())
pass
return
aid = 57
msg, err = upload(aid)
if err:
print(msg)
return
input("Press any key...")
DBHelper.solo_article_updater(id=aid, code=msg)
msg, err = remove(aid)
if err:
print(msg)
return
"""