Closed ulmitov closed 1 year ago
The output is returned in JSON format, and I don't think edit it is a good idea.
I will accept the strip but I should not do the upper() one
ok, I see there is a @common.lower
there... Maybe the upper is a better idea, accepted
hi @ulmitov
Please, check on the develop branch if that fix is enough or tell me you need other upper/strips
@ralequi works great, thanks!
Hi,
Currenlty the serial, model and other fields are not being formatted and have white spaces and different letter case. Please apply space stripping and to upper() format. One of purposes for this is also to have same formatting like in pySMART
Example:
( in this code hba_obj is an added attribute to pySMART.Drive which holds the pystorcli.Drive object )