mxndtaylor / aliasing

a small utility library to add aliases to python classes
MIT License
1 stars 0 forks source link

Feature/22 feature method to automatically generate alias names adds aliases based on pre defined strategies #27

Open mxndtaylor opened 4 weeks ago

mxndtaylor commented 4 weeks ago

add auto_alias decorator which constructors valiased descriptor with aliases based on predefined strategies.

this should resolve #22

github-actions[bot] commented 4 weeks ago

Reports:

Test Report ```xml ```
Coverage Report ```xml /home/runner/work/aliasing/aliasing ```
Flake8 Report ``` 3 E501 line too long (105 > 79 characters) ```
mxndtaylor commented 4 weeks ago

so far, I've added short and sub parameters which both take int | list[int] as the ending index for a slice of the original method name.

short also takes True to indicate all ending indexes less than the length of the original method name should be added.

More details will be added to #22

github-actions[bot] commented 4 weeks ago

Reports:

Test Report ```xml ```
Coverage Report ```xml /home/runner/work/aliasing/aliasing ```
Flake8 Report ``` ```