deta-python icon indicating copy to clipboard operation
deta-python copied to clipboard

chore(ref): Improve Codebase and Refactor some functions

Open yezz123 opened this issue 3 years ago • 0 comments

What's Changed:

  • Swap if/else branches of if expression to remove negation
  • Replace if statement with if the expression
  • Remove unnecessary else after guard condition

a little improvement in the codebase could help to refactor and performance for the upcoming functions in Deta client.

yezz123 avatar Mar 21 '22 23:03 yezz123