blester125 / file-or-name

Python Library to transparently handle arguments that are file paths or file objects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle `@classmethod` better

blester125 opened this issue · comments

Currently one needs to have the @file_or_name before the @classmethod and include the parameter name. Update to correctly handle classemthods.

Also add tests for using this decorator with:

  • methods
  • @classmethods
  • @propertys