home / github / commits

Menu
  • Search all tables
  • GraphQL API

commits: 7379923de756a2bcc59044d548f8ab7a68b91d4e

This data as json

sha message author_date committer_date raw_author raw_committer repo author committer
7379923de756a2bcc59044d548f8ab7a68b91d4e use `_repr_inline_` for indexes that define it (#7183) * use the inline repr, if available * remove the unused max_width argument * also remove the unused is_index parameter * add tests for the index summarizer * add a basic _repr_inline_ implementation * don't delegate to __repr__ since _repr_inline_ is now guaranteed to exist * update the test to check the default implementation * don't strip the `Index` suffix * undo the code simplification: pandas indexes use the same code path and the raw pandas indexes don't define `_repr_inline_`. * move the inline index repr formatting to a separate function * properly use the max_width setting * fix the definition of the `_repr_inline_` method * disable `mypy` for the index formatting test It does not allow reassigning the method, and it also complains about an attribute created in the constructor. * styling [skip-ci] * trigger CI * add a comment explaining why we need the `repr` fallback 2022-10-19T14:06:47Z 2022-10-19T14:06:47Z f48b8f0d94dbaa4588e3a965a600d38e311eab17 cd792325681cbad9f663f2879d8b69f1edbb678f 13221727 14808389 19864447
Powered by Datasette · Queries took 221.789ms · About: xarray-datasette