<commit_before>import { translate } from '@waldur/i18n';
import { registerOfferingType } from '@waldur/marketplace/common/registry';
import { OpenstackVolumeCheckoutSummary } from '@waldur/openstack/openstack-volume/OpenstackVolumeCheckoutSummary';

import { OpenstackVolumeCreateForm } from './OpenstackVolumeCreateForm';

const serializer = attrs => ({
  ...attrs,
  size: attrs.size * 1024,<commit_msg>Avoid extra convertation: GB -> MB [WAL-2445]<commit_after>import { translate } from '@waldur/i18n';
import { registerOfferingType } from '@waldur/marketplace/common/registry';
import { OpenstackVolumeCheckoutSummary } from '@waldur/openstack/openstack-volume/OpenstackVolumeCheckoutSummary';

import { OpenstackVolumeCreateForm } from './OpenstackVolumeCreateForm';

const serializer = attrs => ({
  ...attrs,
  size: attrs.size,
{'fraction_non_alphanumeric': 0.12335329341317365, 'fraction_numerical': 0.01437125748502994, 'mean_word_length': 6.269565217391304, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '3739795', 'n_tokens_mistral': 247, 'n_tokens_neox': 242, 'n_words': 49}