예제 #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
파일: compile.py 프로젝트: bogdanm/mbed-clt
 def __init__(self):
     Command.__init__(self, "compile")
예제 #6
0
파일: list.py 프로젝트: bogdanm/mbed-clt
 def __init__(self):
     Command.__init__(self, "list")
예제 #7
0
파일: gif.py 프로젝트: adamstirtan/vaderbot
 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
파일: gif.py 프로젝트: adamstirtan/vaderbot
 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")