This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM php:8.2-cli | |
| COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer | |
| ENV COMPOSER_ALLOW_SUPERUSER 1 | |
| RUN apt-get update && apt-get install -y --no-install-recommends git curl zip unzip \ | |
| && apt-get clean \ | |
| && rm -rf /var/lib/apt/lists/* /var/cache/apk/* /usr/share/man /tmp/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import dateutil.parser | |
| from rich.table import Table | |
| def table_to_dict(rich_table: Table, transposed: bool = True) -> dict|list: | |
| """ | |
| Convert a rich.Table into dict | |
| Args: | |
| rich_table (Table): A rich Table that should be populated by the DataFrame values |
OlderNewer