neft_outward

This commit is contained in:
2026-04-22 01:34:12 +05:30
commit 58d8329dbd
12 changed files with 251 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import requests
from logging_config import get_logger
logger = get_logger(__name__)
class FetchQueueClient:
def __init__(self, config):
self.url = config.FETCH_QUEUE_URL
def fetch(self, payload):
response = requests.post(
self.url,
json=payload,
verify=False,
timeout=20
)
response.raise_for_status()
return response.json()