Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receiving Error AttributeError: 'dict' object has no attribute 'get_remaining_time_in_millis' #76

Open
jwtdrjj opened this issue May 1, 2024 · 0 comments

Comments

@jwtdrjj
Copy link

jwtdrjj commented May 1, 2024

As I run my custom resource, it is successful but I receive a failure any way with

[ERROR] 2024-05-01T14:16:41.163Z 9407e51d-128f-4e7e-8295-24ef4980e717 'dict' object has no attribute 'get_remaining_time_in_millis'
Traceback (most recent call last):
File "/var/task/crhelper/resource_helper.py", line 76, in call
if not self._crhelper_init(event, context):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/task/crhelper/resource_helper.py", line 137, in _crhelper_init
self._set_timeout()
File "/var/task/crhelper/resource_helper.py", line 215, in _set_timeout
self._timer = threading.Timer((self._context.get_remaining_time_in_millis() / 1000.00) - 0.5,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'get_remaining_time_in_millis'

I am using python 3.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant