fix: remove unnecessary staticmethod (#2147)

This commit is contained in:
Carlos Quintana 2024-07-10 09:40:37 +02:00 committed by GitHub
parent f05f01bf77
commit ae9f47d5a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,7 +76,6 @@ class SendRequest:
file_path = os.path.join(config.SAVE_UNSENT_DIR, file_name)
self.save_request_to_file(file_path)
@staticmethod
def save_request_to_failed_dir(self, prefix: str = "DeliveryRetryFail"):
file_name = (
f"{prefix}-{int(time.time())}-{uuid.uuid4()}.{SendRequest.SAVE_EXTENSION}"