third_party/blink/tools/blinkpy/w3c/import_notifier.py
def file_bugs(self, bugs, dry_run, service_account_key_json=None):
        """Files a list of bugs to Monorail.

        Args:
            bugs: A list of MonorailIssue objects.
            dry_run: A boolean, whether we are in dry run mode.
            service_account_key_json: Optional, see docs for main().
        """
        # TODO(robertma): Better error handling in this method.
        if dry_run:
            _log.info(
                '[dry_run] Would have filed the %d bugs in the pending list.',
                len(bugs))
            return

        _log.info('Filing %d bugs in the pending list to Monorail', len(bugs))
        api = self._get_monorail_api(service_account_key_json)
        for index, bug in enumerate(bugs, start=1):
            response = api.insert_issue(bug)
            _log.info('[%d] Filed bug: %s', index,
                      MonorailIssue.crbug_link(response['id']))
Files a list of bugs to Monorail.

        Args:
            bugs: A list of MonorailIssue objects.
            dry_run: A boolean, whether we are in dry run mode.
            service_account_key_json: Optional, see docs for main().
        
Files a list of bugs to Monorail.
Files a list of bugs to Monorail .
def file_bugs(self, bugs, dry_run, service_account_key_json=None):
        if dry_run:
            _log.info(
                '[dry_run] Would have filed the %d bugs in the pending list.',
                len(bugs))
            return
        _log.info('Filing %d bugs in the pending list to Monorail', len(bugs))
        api = self._get_monorail_api(service_account_key_json)
        for index, bug in enumerate(bugs, start=1):
            response = api.insert_issue(bug)
            _log.info('[%d] Filed bug: %s', index,
                      MonorailIssue.crbug_link(response['id']))
def file_bugs ( self , bugs , dry_run , service_account_key_json = None ) : if dry_run : _log . info ( '[dry_run] Would have filed the %d bugs in the pending list.' , len ( bugs ) ) return _log . info ( 'Filing %d bugs in the pending list to Monorail' , len ( bugs ) ) api = self . _get_monorail_api ( service_account_key_json ) for index , bug in enumerate ( bugs , start = 1 ) : response = api . insert_issue ( bug ) _log . info ( '[%d] Filed bug: %s' , index , MonorailIssue . crbug_link ( response [ 'id' ] ) )
Files a list of bugs to Monorail.
Files a list of bugs to Monorail .
"""Files a list of bugs to Monorail.

        Args:
            bugs: A list of MonorailIssue objects.
            dry_run: A boolean, whether we are in dry run mode.
            service_account_key_json: Optional, see docs for main().
        """ # TODO(robertma): Better error handling in this method.
self
bugs
A list of MonorailIssue objects.
A list of MonorailIssue objects .
dry_run
A boolean, whether we are in dry run mode.
A boolean whether we are in dry run mode .
service_account_key_json
Optional, see docs for main().
Optional see docs for main () .