twilio / twilio-python

A Python module for communicating with the Twilio API and generating TwiML.
MIT License
1.83k stars 699 forks source link

Code Enhancement #777

Open carcruram opened 5 months ago

carcruram commented 5 months ago

Issue Summary

Change the function time.time to datetime.datetime in the folder twilio/jwt/init.py

Code Snippet

#if ttl:
              expiration_time = datetime.datetime.utcnow() + datetime.timedelta(seconds=ttl)
         else:
              expiration_time = datetime.datetime.utcnow() + datetime.timedelta(seconds=self.ttl)
tiwarishubham635 commented 4 months ago

Hey @carcruram! we’ll add this to our internal backlog to be prioritized. +1s/reactions on this issue (and comments) and PRs will bump it higher up the backlog. Thanks!