<commit_before>part of vkapi;

abstract class BaseQuery {

  static final QueryUri = new Uri.https('api.vk.com', '/method');

  Map _params = {};
  String _accessToken = '';
  String _methodName = '';

  QueryResponse response = null;

  /**
   * Get query uri for api request
   */
  Uri get queryUri {
    var params = _params;
    params['access_token'] = _accessToken;

    var path = '/method/' + _methodName;

    return new Uri.https('api.vk.com', path, _params);
  }

  Future<Map> get() {
    return http.get(queryUri).then((http.Response res) {
      response = new QueryResponse.fromResponse(res);

      return new Future.value(response);
    });
  }

  String toString() {
    return queryUri.toString();
  }

}<commit_msg>change method get in BaseQuery<commit_after>part of vkapi;

abstract class BaseQuery {

  static final QueryUri = new Uri.https('api.vk.com', '/method');

  Map _params = {};
  String _accessToken = '';
  String _methodName = '';

  QueryResponse response = null;

  /**
   * Get query uri for api request
   */
  Uri get queryUri {
    var params = _params;
    params['access_token'] = _accessToken;

    var path = '/method/' + _methodName;

    return new Uri.https('api.vk.com', path, _params);
  }

  Future<QueryResponse> get() {
    return http.get(queryUri).then((http.Response res) {
      response = new QueryResponse.fromResponse(res);

      return new Future.value(response);
    });
  }

  String toString() {
    return queryUri.toString();
  }

}
{'fraction_non_alphanumeric': 0.13475650433622416, 'fraction_numerical': 0.0, 'mean_word_length': 3.065040650406504, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3707418', 'n_tokens_mistral': 489, 'n_tokens_neox': 461, 'n_words': 122}