Commit graph

27 commits

Author SHA1 Message Date
Tomaae
bc127cd16e
Use Snake Case formatting for attribute names #204 2022-05-26 10:10:02 +02:00
Tomaae
1503cd79d1 renamed format_value to helper.py 2022-02-02 22:18:05 +01:00
Tomaae
a3e6761c78 renamed format_attribute to helper.py 2022-02-02 22:13:39 +01:00
Tomaae
1ea1f3a4b7 renamed helper.py to apiparser.py 2022-02-02 22:01:12 +01:00
tomaae
68a47ffa3c Implemented mangle switches #75 2020-12-18 19:58:54 +01:00
tomaae
cd4d0a09ee added support for virtual interfaces #12 2020-04-13 09:16:33 +02:00
tomaae
70cdb93eb3 reformatted using black 2020-04-11 05:45:36 +02:00
tomaae
f89a263691 removed unused variable 2020-04-05 00:33:04 +02:00
Ivan Pavlina
1a46da5aae Add ability to return list results of API call instead of generator. On generator return do not call iterate over object, removes redundant calls to API. Update calls to api.path with new input param. Fix logging in helper object. 2020-04-04 17:51:35 +02:00
Andrey Khrolenok
7ccaf0d9c3
PM8 code optimization 2020-03-21 19:02:28 +03:00
Andrey Khrolenok
f0b4c5e723
Fix some minor errors and add russian translation. 2020-03-21 18:46:54 +03:00
tomaae
8ec4f9ade5 changed string formatting according to development guidelines 2020-03-16 19:02:54 +01:00
tomaae
e418c20252 reformatted code using black 2020-03-16 04:51:41 +01:00
tomaae
3ee017e11c fixed arp debug message 2019-12-21 08:21:17 +01:00
tomaae
26d523c035 parse_api, fill default values if key is not specified #7 2019-12-21 07:34:23 +01:00
tomaae
ec82b33cb9 fixes 2019-12-12 23:01:57 +01:00
Tomaae
7a58bc6a70 added docstring and function hints to helper
renamed from_list to parse_api
2019-12-12 13:37:09 +01:00
Tomaae
6b2f9ae4e2 fixes and code cleanup 2019-12-12 13:02:11 +01:00
Tomaae
9afa20abc8 added forgotten data assignment in fill_vals_proc 2019-12-12 09:02:32 +01:00
Tomaae
212d9c9aa9 made val optional in helper
added val_proc with support cor combining string
2019-12-12 08:59:36 +01:00
Tomaae
795f4f6ab2 added helper support for lists without uid 2019-12-11 15:09:25 +01:00
Tomaae
92b74fea01 moved vals and ensure_vals to separate helper functions 2019-12-11 13:17:03 +01:00
Tomaae
20a35a5f40 moved keymap matching into get_uid 2019-12-11 13:08:12 +01:00
Tomaae
f3a4b19d68 added support for only and skip in helper
added test for ensure_vals
2019-12-11 13:03:09 +01:00
Tomaae
057e6f91b7 added support for remapping keys for existing data structure 2019-12-11 09:13:35 +01:00
Tomaae
dfb2abd1af added option to map default to another value in current data entry 2019-12-11 08:40:40 +01:00
tomaae
477dd630d8 started refactoring controller
added debug messages
2019-12-10 22:32:59 +01:00