Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static method support in builtin functions and classes. #122

Open
Almas-Ali opened this issue Apr 30, 2024 · 0 comments
Open

static method support in builtin functions and classes. #122

Almas-Ali opened this issue Apr 30, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@Almas-Ali
Copy link
Member

Describe the solution you'd like
What we have now.

json = Json()
json.loads(...)
json.dumps(...)

What it should be.

Json.loads(...)
Json.dumps(...)

For this we can create a new decorator @static and this will convert that method as static so it can be accessible by Radon as static method.

@Almas-Ali Almas-Ali added the enhancement New feature or request label Apr 30, 2024
@Almas-Ali Almas-Ali changed the title Built-in static method support. static method support in builtin functions and classes. May 27, 2024
@Almas-Ali Almas-Ali added this to the v0.1 release milestone May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant