示例#1
0
    def __init__(self, trivia_question_repository, user_repository):
        Command.__init__(self)

        self._trivia_question_repository = trivia_question_repository
        self._user_repository = user_repository
        self._game_started = False
        self._current_question = None
示例#2
0
    def __init__(self, trivia_question_repository, user_repository):
        Command.__init__(self)

        self._trivia_question_repository = trivia_question_repository
        self._user_repository = user_repository
        self._game_started = False
        self._current_question = None
示例#3
0
    def __init__(self, args):
        Command.__init__(self, args)
        self.apkFile = args.apk
        # print(type(args.perm))

        self.show_permission = args.perm      
        self.show_signature = args.sign
        self.components = args.comp 
示例#4
0
 def __init__(self, loud=False):
     Command.__init__(self)
     self.volume = 8 if not loud else 16
示例#5
0
 def __init__(self):
     Command.__init__(self, "compile")
示例#6
0
文件: list.py 项目: bogdanm/mbed-clt
 def __init__(self):
     Command.__init__(self, "list")
示例#7
0
 def __init__(self):
     Command.__init__(self)
     self._request_uri = "http://api.giphy.com/v1/gifs/random?tag={}&api_key={}"
     self._api_key = "dc6zaTOxFJmzC"
示例#8
0
 def __init__(self):
     Command.__init__(self)
示例#9
0
 def __init__(self, info, description):
     Command.__init__(self, info, description)
示例#10
0
文件: add.py 项目: bogdanm/mbed-clt
 def __init__(self):
     Command.__init__(self, "add")
示例#11
0
 def __init__(self):
     Command.__init__(self)
     self._request_uri = "http://api.fixer.io/latest?base={}&symbols={}"
示例#12
0
文件: smart.py 项目: vincent-lg/mud
 def __init__(self, **kwargs):
     Command.__init__(self, **kwargs)
     if type(self).params is None:
         type(self).params = ParamPipe()
         self.setup()
示例#13
0
    def __init__(self):
        Command.__init__(self)

        self._request_uri = "http://api.openweathermap.org/data/2.5/weather?q={}&appid={}"
        self._api_key = os.getenv("WEATHER_API_KEY")
示例#14
0
    def __init__(self):
        Command.__init__(self)

        self._request_uri = "http://api.openweathermap.org/data/2.5/weather?q={}&appid={}"
        self._api_key = os.getenv("WEATHER_API_KEY")
示例#15
0
文件: clone.py 项目: bogdanm/mbed-clt
 def __init__(self):
     Command.__init__(self, "clone")
示例#16
0
    def __init__(self, quote_repository):
        Command.__init__(self)

        self._quote_repository = quote_repository
示例#17
0
 def __init__(self):
     Command.__init__(self)
     self.registration = Registration()
     self.only_public_chats = True
示例#18
0
文件: smart.py 项目: vlegoff/mud
 def __init__(self, **kwargs):
     Command.__init__(self, **kwargs)
     if type(self).params is None:
         type(self).params = ParamPipe()
         self.setup()
示例#19
0
 def __init__(self, loud=False):
     Command.__init__(self)
     self.volume = 8 if not loud else 16
示例#20
0
 def __init__(self):
     Command.__init__(self)
示例#21
0
 def __init__(self):
     Command.__init__(self)
     self._request_uri = "http://api.fixer.io/latest?base={}&symbols={}"
示例#22
0
 def __init__(self):
     Command.__init__(self)
     self._restart_command = self._check_systemd_or_upstart()
     print(self._restart_command)
示例#23
0
文件: deps.py 项目: bogdanm/mbed-clt
 def __init__(self):
     Command.__init__(self, "deps")
示例#24
0
 def __init__(self, client, api_key):
     Command.__init__(self)
     self.client = client
     self.api_key = api_key
示例#25
0
    def __init__(self):
        Command.__init__(self)

        self._request_uri = "http://api.urbandictionary.com/v0/define?term={}"
示例#26
0
    def __init__(self, message_repository, quote_repository):
        Command.__init__(self)

        self._message_repository = message_repository
        self._quote_repository = quote_repository
示例#27
0
    def __init__(self, message_repository, message=None):
        Command.__init__(self)

        self._message_repository = message_repository
        self.message = message
示例#28
0
 def __init__(self, client, api_key):
     Command.__init__(self)
     self.client = client
     self.api_key = api_key
示例#29
0
 def __init__(self):
     Command.__init__(self)
     self._request_uri = "http://api.giphy.com/v1/gifs/random?tag={}&api_key={}"
     self._api_key = "dc6zaTOxFJmzC"
示例#30
0
    def __init__(self, quote_repository):
        Command.__init__(self)

        self._quote_repository = quote_repository
示例#31
0
    def __init__(self, message_repository, message = None):
        Command.__init__(self)

        self._message_repository = message_repository
        self.message = message
示例#32
0
文件: set.py 项目: bogdanm/mbed-clt
 def __init__(self):
     Command.__init__(self, "set")