<commit_before># -*- coding: utf-8 -*-

import operator
from datetime import datetime, timedelta

import pytz
import bleach

import frappe

from .ebay_requests import (get_active_listings, get_seller_list, get_item,
                            default_site_id, get_shipping_details)
from .ebay_constants import (LISTING_DURATION_TOKEN_DICT, EBAY_SITE_IDS,
                             EBAY_TRANSACTION_SITE_NAMES)

from collections.abc import Sequence

OUTPUT_SELECTOR = [
    'ItemArray.Item.ListingType',
    'ItemArray.Item.ListingDuration',
    'ItemArray.Item.ListingDetails.StartTime',
    'ItemArray.Item.ListingDetails.ViewItemURL',
    'ItemArray.Item.SKU',
    'ItemArray.Item.HitCount',
    'ItemArray.Item.WatchCount',
    'ItemArray.Item.QuestionCount',
    'ItemArray.Item.Quantity',
    'ItemArray.Item.Title',
    'ItemArray.Item.SellingStatus.CurrentPrice',
    'ItemArray.Item.SellingStatus.QuantitySold']
OUTPUT_SELECTOR += [
    f'ItemArray.Item.ShippingDetails.ShippingServiceOptions.{x}' for x in [
        'ShippingService', 'ShippingServicePriority', 'ShippingServiceCost',
        'ShippingServiceAdditionalCost', 'ShippingTimeMin', 'ShippingTimeMax',
        'FreeShipping', 'ExpeditedService', 'ShipToLocation']]
OUTPUT_SELECTOR += [<commit_msg>fix: Remove unused import.<commit_after># -*- coding: utf-8 -*-

import operator
from datetime import datetime, timedelta

import pytz
import bleach

import frappe

from .ebay_requests import (get_seller_list, get_item,
                            default_site_id, get_shipping_details)
from .ebay_constants import (LISTING_DURATION_TOKEN_DICT, EBAY_SITE_IDS,
                             EBAY_TRANSACTION_SITE_NAMES)

from collections.abc import Sequence

OUTPUT_SELECTOR = [
    'ItemArray.Item.ListingType',
    'ItemArray.Item.ListingDuration',
    'ItemArray.Item.ListingDetails.StartTime',
    'ItemArray.Item.ListingDetails.ViewItemURL',
    'ItemArray.Item.SKU',
    'ItemArray.Item.HitCount',
    'ItemArray.Item.WatchCount',
    'ItemArray.Item.QuestionCount',
    'ItemArray.Item.Quantity',
    'ItemArray.Item.Title',
    'ItemArray.Item.SellingStatus.CurrentPrice',
    'ItemArray.Item.SellingStatus.QuantitySold']
OUTPUT_SELECTOR += [
    f'ItemArray.Item.ShippingDetails.ShippingServiceOptions.{x}' for x in [
        'ShippingService', 'ShippingServicePriority', 'ShippingServiceCost',
        'ShippingServiceAdditionalCost', 'ShippingTimeMin', 'ShippingTimeMax',
        'FreeShipping', 'ExpeditedService', 'ShipToLocation']]
OUTPUT_SELECTOR += [
{'fraction_non_alphanumeric': 0.10686119873817035, 'fraction_numerical': 0.0007886435331230284, 'mean_word_length': 4.053784860557769, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4599630', 'n_tokens_mistral': 804, 'n_tokens_neox': 798, 'n_words': 126}