Skip to content

Commit

Permalink
migrate helper class from core
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed May 9, 2022
1 parent 9462fcc commit 75e2cef
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ovos_workshop/skills/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,17 @@ def build(self):
self.at_least_one, self.optional)


class AdaptIntent(IntentBuilder):
"""Wrapper for IntentBuilder setting a blank name.
Args:
name (str): Optional name of intent
"""

def __init__(self, name=''):
super().__init__(name)


def get_non_properties(obj):
"""Get attibutes that are not properties from object.
Expand Down

0 comments on commit 75e2cef

Please sign in to comment.