GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Bug: waiting_for is incorrectly type annotated · Issue #889 · testcontainers/testcontainers-python Closed DescriptionDescribe the bug waiting_for currently is annotated as returning "DockerContainer", but it really should be annotated as returning Self. To Reproduce Most type checkers will complain about assigning a DockerContainer to a variable of type MySqlContainer because of this container: MySqlContainer = MySqlContainer("mysql:5.6", root_password="root").waiting_for( CompositeWaitStrategy( PortWaitStrategy(3306), LogMessageWaitStrategy("mysqld: ready for connections"), ) ) Runtime environment $ uname -a Linux DESKTOP-971PGRM 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux $ python3 -V Python 3.12.7 $ pip list | grep testcontainers testcontainers 4.13.1 Checkers such as Astral's Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |