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

Run UDFs as extension of a class #12

Open
colemanja91 opened this issue Jun 25, 2017 · 0 comments
Open

Run UDFs as extension of a class #12

colemanja91 opened this issue Jun 25, 2017 · 0 comments

Comments

@colemanja91
Copy link
Contributor

UDFs should be defined and executed as extensions of a base UDF class:

from dwm import UDF

class MyUDF(UDF):
  udf_name = 'publicly-visible name' 
  udf_docs = 'publicly-visible docs'
  def run(self, data, hist):
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant