Add PEP 8 compliant api, and add deprecation warnings to camel case api methods. #55
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The camel case python API does not follow PEP 8, and I found it a little tricky to tell between scala and python methods. To fix this, I added new, duplicate methods, that follow (in my opinion) pythonic naming convention. Some of the duplicate methods can be seen below:
I also added a deprecated_api_warning method to utils.py.
![Screenshot from 2023-12-14 17-04-07](https://private-user-images.githubusercontent.com/94922098/290668530-00554f96-091d-417f-b1fd-9d73709abc60.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTE1NDAsIm5iZiI6MTczOTAxMTI0MCwicGF0aCI6Ii85NDkyMjA5OC8yOTA2Njg1MzAtMDA1NTRmOTYtMDkxZC00MTdmLWIxZmQtOWQ3MzcwOWFiYzYwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEwNDA0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJkNjdiODNjNTlhN2U2NDM0Yzg1MTJhNTY1MjcyNDhmNjYyMDE1MTBjNmY3ZTA3ZDk4NTgwM2NjMTFhMjk5M2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4JLwGlb6DjaWv6jB4Cdeja5JHoiTAuqOgABw48Oq5sM)
I then stuck it in to every camel case method.
![Screenshot from 2023-12-14 17-03-05](https://private-user-images.githubusercontent.com/94922098/290668481-e24558e0-0da6-4d46-a15b-72f5366bbad1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTE1NDAsIm5iZiI6MTczOTAxMTI0MCwicGF0aCI6Ii85NDkyMjA5OC8yOTA2Njg0ODEtZTI0NTU4ZTAtMGRhNi00ZDQ2LWExNWItNzJmNTM2NmJiYWQxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEwNDA0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZiZjE2NGFlZTI2MWU3YWZhZDQzMDUxNTgxMDZmOTUyYTA3MGYxMDAzMzczNGE4OTVjMzAzMTZjNGVmN2Q0YWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.VRDFreRUc0zvgp7cCEbTyByq-N9SO6AiqRLLhCRG08g)
Potential follow ups:
Any feedback would be greatly appreciated!