<commit_before>import { extendObservable } from 'mobx';

/**
 * This store planets.
 */
export default class Planets {

  /**
   * Constructor
   * @param {object} Domain store
   */
  constructor({ planets = {} }, network) {
    this.fetch = network.fetch;
    extendObservable(this, planets);
  }

  /**
   * @var {string} API endpoint
   */
  apiUrl = 'http://swapi.co/api/planets';

  /**
   * Fetch all planets
   * @param {Number} Page number<commit_msg>https:// endpoint for swapi<commit_after>import { extendObservable } from 'mobx';

/**
 * This store planets.
 */
export default class Planets {

  /**
   * Constructor
   * @param {object} Domain store
   */
  constructor({ planets = {} }, network) {
    this.fetch = network.fetch;
    extendObservable(this, planets);
  }

  /**
   * @var {string} API endpoint
   */
  apiUrl = 'https://swapi.co/api/planets';

  /**
   * Fetch all planets
   * @param {Number} Page number
{'fraction_non_alphanumeric': 0.15508021390374332, 'fraction_numerical': 0.0, 'mean_word_length': 2.8048780487804876, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5251306', 'n_tokens_mistral': 306, 'n_tokens_neox': 297, 'n_words': 74}