| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## master #1290 +/- ##
==========================================
+ Coverage 79.92% 79.95% +0.02%
==========================================
Files 73 73
Lines 4010 4016 +6
==========================================
+ Hits 3205 3211 +6
Misses 805 805
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Sorry, something went wrong.
|
What do you think about having an optional _arg_name attribute that could be put on classes. If that was present using that as the argument name, otherwise use the what_to_cls function. |
Sorry, something went wrong.
|
FYI: These classes seem like ones to fail before this patch. CurrentUserGPGKey current-user-gp-gkey LDAPGroup l-da-pgroup UserGPGKey user-gp-gkey |
Sorry, something went wrong.
Here is a Proof-of-Concept for this: |
Sorry, something went wrong.
I actually did this whole namespace lookup dance so that we wouldn't need to manually maintain another attribute in case people forget about it when adding new features 😅 but maybe your approach is clearer. I haven't looked at whether the current approach is problematic for typing. Either way I'll rebase and add some more tests. :) |
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## master #1290 +/- ##
==========================================
+ Coverage 90.82% 90.83% +0.01%
==========================================
Files 73 73
Lines 4020 4027 +7
==========================================
+ Hits 3651 3658 +7
Misses 369 369
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Sorry, something went wrong.
|
@JohnVillalovos I just rebased, could you take one last look and merge if it's ok? :) Based on some other discussions on (not) manually maintaining too many object attributes I think #1362 can be closed if this is merged, WDYT? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Closes #1289. Not sure if relying on requests' internal CaseInsensitiveDict for this is the best idea here but I didn't want to reinvent the wheel. But it's needed since proper camelcase -> kebab-case conversions are not fully reversible (see https://stackoverflow.com/a/1176023)
Fixes the issue for:
CurrentUserGPGKey
LDAPGroup
UserGPGKey