-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Error in Alerta class tabular #138
Comments
What's the command you are running and what's the exact error? Can you paste the error below? Thanks. |
This is the snippet code:
The Error is: 'dict' object has no attribute 'serialize' Thanks for your support. |
ok. I'll see if I can reproduce. this sort of thing (I hope) can be avoided when alerta starts making use of python3 typing. just for my info though, are you using python 2 or python 3? |
Python version = 3.6.5 Thanks. |
Thanks for reporting this. It should now be fixed and available as version 5.2.1. |
In Alerta CLI 5.2.0, I get an error in
alerta.tabular
method.Looking at the code (https://github.com/alerta/python-alerta-client/blob/master/alertaclient/models/alert.py#L156) I don't understand why there calling
#'history': [h.serialize(timezone) for h in self.history]
instead of'history': [h for h in self.history]
The text was updated successfully, but these errors were encountered: