From 4497a82c504818d61ab18c5251ae2bc42bae279e Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Sat, 23 Nov 2024 18:47:50 +0000 Subject: Deploying to docs from @ python-discord/bot-core@bdaaa2e76d4cb32843754757532ef8d73ac97761 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v10.6.0/output/pydis_core.utils.pagination.html | 101 +++++++++++++----------- 1 file changed, 54 insertions(+), 47 deletions(-) (limited to 'v10.6.0/output/pydis_core.utils.pagination.html') diff --git a/v10.6.0/output/pydis_core.utils.pagination.html b/v10.6.0/output/pydis_core.utils.pagination.html index 6f3532a3..45d725a9 100644 --- a/v10.6.0/output/pydis_core.utils.pagination.html +++ b/v10.6.0/output/pydis_core.utils.pagination.html @@ -5,13 +5,13 @@ - + pagination - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -448,7 +456,7 @@
    exception EmptyPaginatorEmbedError[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Raised when attempting to paginate with empty contents.

    @@ -460,12 +468,12 @@
    Parameters:
      -
    • pagination_emojis (PaginationEmojis) – The emojis used to navigate pages.

    • -
    • prefix (str) – The prefix inserted to every page. e.g. three backticks.

    • -
    • suffix (str) – The suffix appended at the end of every page. e.g. three backticks.

    • -
    • max_size (int) – The maximum amount of codepoints allowed in a page.

    • -
    • scale_to_size (int) – The maximum amount of characters a single line can scale up to.

    • -
    • max_lines (int) – The maximum amount of lines allowed in a page.

    • +
    • pagination_emojis (PaginationEmojis) – The emojis used to navigate pages.

    • +
    • prefix (str) – The prefix inserted to every page. e.g. three backticks.

    • +
    • suffix (str) – The suffix appended at the end of every page. e.g. three backticks.

    • +
    • max_size (int) – The maximum amount of codepoints allowed in a page.

    • +
    • scale_to_size (int) – The maximum amount of characters a single line can scale up to.

    • +
    • max_lines (int) – The maximum amount of lines allowed in a page.

    @@ -494,12 +502,12 @@ page at a reasonable size.

    Parameters:
      -
    • line (str) – The line to add to the paginated content.

    • -
    • empty (bool) – Indicates whether an empty line should be added at the end.

    • +
    • line (str) – The line to add to the paginated content.

    • +
    • empty (bool) – Indicates whether an empty line should be added at the end.

    Return type:
    -

    None

    +

    None

    @@ -517,27 +525,27 @@ to any user with a moderation role.

    Parameters:
      -
    • pagination_emojis (PaginationEmojis) – The emojis used to navigate pages.

    • -
    • lines (list[str]) – A list of lines to be added to the paginated content.

    • +
    • pagination_emojis (PaginationEmojis) – The emojis used to navigate pages.

    • +
    • lines (list[str]) – A list of lines to be added to the paginated content.

    • ctx (discord.ext.commands.Context) – The context in which the pagination is needed.

    • embed (discord.Embed) – The embed that holds the content, it serves as the page.

    • -
    • prefix (str) – The prefix inserted to every page. e.g. three backticks.

    • -
    • suffix (str) – The suffix appended at the end of every page. e.g. three backticks.

    • -
    • max_lines (int) – The maximum amount of lines allowed in a page.

    • -
    • max_size (int) – The maximum amount of codepoints allowed in a page.

    • -
    • scale_to_size (int) – The maximum amount of characters a single line can scale up to.

    • -
    • empty (bool) – Indicates whether an empty line should be added to each provided line.

    • +
    • prefix (str) – The prefix inserted to every page. e.g. three backticks.

    • +
    • suffix (str) – The suffix appended at the end of every page. e.g. three backticks.

    • +
    • max_lines (int) – The maximum amount of lines allowed in a page.

    • +
    • max_size (int) – The maximum amount of codepoints allowed in a page.

    • +
    • scale_to_size (int) – The maximum amount of characters a single line can scale up to.

    • +
    • empty (bool) – Indicates whether an empty line should be added to each provided line.

    • restrict_to_user (discord.User) – The user to whom interaction with the pages should be restricted.

    • -
    • timeout (int) – The timeout after which users cannot change pages anymore.

    • -
    • footer_text (str) – Text to be added as a footer for each page.

    • -
    • url (str) – The url to be set for the pagination embed.

    • -
    • exception_on_empty_embed (bool) – Indicates whether to raise an exception when no lines are provided.

    • -
    • reply (bool) – Indicates whether to send the page as a reply to the context’s message.

    • -
    • allowed_roles (Sequence[int]) – A list of role ids that are allowed to change pages.

    • +
    • timeout (int) – The timeout after which users cannot change pages anymore.

    • +
    • footer_text (str) – Text to be added as a footer for each page.

    • +
    • url (str) – The url to be set for the pagination embed.

    • +
    • exception_on_empty_embed (bool) – Indicates whether to raise an exception when no lines are provided.

    • +
    • reply (bool) – Indicates whether to send the page as a reply to the context’s message.

    • +
    • allowed_roles (Sequence[int]) – A list of role ids that are allowed to change pages.

    Return type:
    -

    Message | None

    +

    Message | None

    Example: @@ -571,9 +579,15 @@ to any user with a moderation role.

    Whether model building is completed, or if there are still undefined fields.

    +
    +
    +__pydantic_computed_fields__: ClassVar[Dict[str, ComputedFieldInfo]] = {}
    +

    A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.

    +
    +
    -__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'pydis_core.utils.pagination.PaginationEmojis'>, 'config': {'title': 'PaginationEmojis'}, 'custom_init': False, 'metadata': {'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'pydis_core.utils.pagination.PaginationEmojis'>, title=None), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'pydis_core.utils.pagination.PaginationEmojis'>>]}, 'ref': 'pydis_core.utils.pagination.PaginationEmojis:94516836211152', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'delete': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': '<:trashcan:637136429717389331>', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'first': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': '⏮', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'last': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': '⏭', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'left': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': '⬅', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'right': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': '➡', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'PaginationEmojis', 'type': 'model-fields'}, 'type': 'model'}
    +__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'pydis_core.utils.pagination.PaginationEmojis'>, 'config': {'title': 'PaginationEmojis'}, 'custom_init': False, 'metadata': {'pydantic_js_functions': [<bound method BaseModel.__get_pydantic_json_schema__ of <class 'pydis_core.utils.pagination.PaginationEmojis'>>]}, 'ref': 'pydis_core.utils.pagination.PaginationEmojis:94206856494912', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'delete': {'metadata': {}, 'schema': {'default': '<:trashcan:637136429717389331>', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'first': {'metadata': {}, 'schema': {'default': '⏮', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'last': {'metadata': {}, 'schema': {'default': '⏭', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'left': {'metadata': {}, 'schema': {'default': '⬅', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'right': {'metadata': {}, 'schema': {'default': '➡', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'PaginationEmojis', 'type': 'model-fields'}, 'type': 'model'}

    The core schema of the model.

    @@ -596,6 +610,13 @@ This replaces Model.__validators__ and Model.__root_validator

    A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.

    +
    +
    +__pydantic_fields__: ClassVar[Dict[str, FieldInfo]] = {'delete': FieldInfo(annotation=str, required=False, default='<:trashcan:637136429717389331>'), 'first': FieldInfo(annotation=str, required=False, default='⏮'), 'last': FieldInfo(annotation=str, required=False, default='⏭'), 'left': FieldInfo(annotation=str, required=False, default='⬅'), 'right': FieldInfo(annotation=str, required=False, default='➡')}
    +

    A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects. +This replaces Model.__fields__ from Pydantic V1.

    +
    +
    __pydantic_fields_set__: set[str]
    @@ -629,13 +650,13 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055f66a7299d0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "last": SerField {                         key_py: Py(                             0x00007fcf6a3d2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf64bbe8d0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007fcf6a379730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf64bbe7e0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007fcf6a3f48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf64bbe830,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fcf6a760eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf64bbe920,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007fcf6a3796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf64bbe880,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                 },                 computed_fields: Some(                     ComputedFields(                         [],                     ),                 ),                 mode: SimpleDict,                 extra_serializer: None,                 filter: SchemaFilter {                     include: None,                     exclude: None,                 },                 required_fields: 5,             },         ),         has_extra: false,         root_model: false,         name: "PaginationEmojis",     }, ), definitions=[])
    +__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055ae3e377f40,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "left": SerField {                         key_py: Py(                             0x00007ff250f797f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff24771ea60,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007ff250ff47b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff24771eab0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007ff251360eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff24771eba0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007ff250f797b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff24771eb00,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007ff250fd2170,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff24771eb50,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                 },                 computed_fields: Some(                     ComputedFields(                         [],                     ),                 ),                 mode: SimpleDict,                 extra_serializer: None,                 filter: SchemaFilter {                     include: None,                     exclude: None,                 },                 required_fields: 5,             },         ),         has_extra: false,         root_model: false,         name: "PaginationEmojis",     }, ), definitions=[])

    The pydantic-core SchemaSerializer used to dump instances of the model.

    -__pydantic_validator__: ClassVar[SchemaValidator | PluggableSchemaValidator] = SchemaValidator(title="PaginationEmojis", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "first",                         lookup_key: Simple {                             key: "first",                             py_key: Py(                                 0x00007fcf64e57b30,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fcf647de1f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6a3f48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf64bbe830,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf68f26470,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fcf647dc7b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fcf647dd6b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6a379730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf64bbe7e0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf68f26470,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fcf647dff30,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fcf647dfe70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6a3796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf64bbe880,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf68f26470,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fcf647def70,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fcf647dc3f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6a3d2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf64bbe8d0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf68f26470,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fcf647dcb30,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fcf647dcbf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6a760eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf64bbe920,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf68f26470,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055f66a7299d0,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fcf68f26470,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)
    +__pydantic_validator__: ClassVar[SchemaValidator | PluggableSchemaValidator] = SchemaValidator(title="PaginationEmojis", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "first",                         lookup_key: Simple {                             key: "first",                             py_key: Py(                                 0x00007ff24e29da30,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007ff247f7e130,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff250ff47b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff24771eab0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff24fb4e3c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007ff246d35770,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007ff246d35eb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff250f797f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff24771ea60,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff24fb4e3c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007ff246d36b30,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007ff246d35670,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff250f797b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff24771eb00,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff24fb4e3c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007ff246d37f30,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007ff246d37fb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff250fd2170,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff24771eb50,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff24fb4e3c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007ff246d35a70,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007ff246d35870,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff251360eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff24771eba0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff24fb4e3c0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055ae3e377f40,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007ff24fb4e3c0,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

    The pydantic-core SchemaValidator used to validate instances of the model.

    @@ -645,26 +666,12 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b

    The synthesized __init__ [Signature][inspect.Signature] of the model.

    -
    -
    -model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
    -

    A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

    -
    -
    model_config: ClassVar[ConfigDict] = {}

    Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

    -
    -
    -model_fields: ClassVar[Dict[str, FieldInfo]] = {'delete': FieldInfo(annotation=str, required=False, default='<:trashcan:637136429717389331>'), 'first': FieldInfo(annotation=str, required=False, default='⏮'), 'last': FieldInfo(annotation=str, required=False, default='⏭'), 'left': FieldInfo(annotation=str, required=False, default='⬅'), 'right': FieldInfo(annotation=str, required=False, default='➡')}
    -

    Metadata about the fields defined on the model, -mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.

    -

    This replaces Model.__fields__ from Pydantic V1.

    -
    - @@ -736,10 +743,12 @@ mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] ob
  • PaginationEmojis.__class_vars__
  • PaginationEmojis.__private_attributes__
  • PaginationEmojis.__pydantic_complete__
  • +
  • PaginationEmojis.__pydantic_computed_fields__
  • PaginationEmojis.__pydantic_core_schema__
  • PaginationEmojis.__pydantic_custom_init__
  • PaginationEmojis.__pydantic_decorators__
  • PaginationEmojis.__pydantic_extra__
  • +
  • PaginationEmojis.__pydantic_fields__
  • PaginationEmojis.__pydantic_fields_set__
  • PaginationEmojis.__pydantic_generic_metadata__
  • PaginationEmojis.__pydantic_parent_namespace__
  • @@ -748,9 +757,7 @@ mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] ob
  • PaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • @@ -765,7 +772,7 @@ mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] ob - + -- cgit v1.2.3