<commit_before>.. _deprecated:

===============
Deprecated Bits
===============

This part of the documentation contains things that eventually will be deleted.

.. method:: pyuploadcare.file.File.cropped(width=None, height=None)

.. method:: pyuploadcare.file.File.resized(width=None, height=None)<commit_msg>Add File.keep into deprecated.rst<commit_after>.. _deprecated:

===============
Deprecated Bits
===============

This part of the documentation contains things that eventually will be deleted.

.. method:: pyuploadcare.file.File.keep(**kwargs)

   Use :ref:`File.store <core_api-file-ref>` instead.

.. method:: pyuploadcare.file.File.cropped(width=None, height=None)

   Contruct url with `crop`_ modificator manually instead.

.. method:: pyuploadcare.file.File.resized(width=None, height=None)

   Contruct url with `resize`_ modificator manually instead.

.. _crop: `CDN API`_
.. _resize: `CDN API`_
.. _CDN API: https://uploadcare.com/documentation/cdn/
{'fraction_non_alphanumeric': 0.17665289256198347, 'fraction_numerical': 0.0, 'mean_word_length': 5.05625, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, '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': '1313058', 'n_tokens_mistral': 305, 'n_tokens_neox': 288, 'n_words': 75}