Skip to content

Implement MultiDict.__eq__#74

Merged
gerlero merged 1 commit intomainfrom
eq
Sep 6, 2025
Merged

Implement MultiDict.__eq__#74
gerlero merged 1 commit intomainfrom
eq

Conversation

@gerlero
Copy link
Copy Markdown
Owner

@gerlero gerlero commented Sep 6, 2025

No description provided.

@gerlero gerlero requested a review from Copilot September 6, 2025 14:30

This comment was marked as outdated.

@gerlero gerlero requested a review from Copilot September 6, 2025 14:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements the __eq__ method for the MultiDict class to enable equality comparison with other MultiDict instances, MultiMapping objects, and standard Mapping objects. The implementation handles different comparison logic based on the type of object being compared against.

  • Adds equality comparison logic with type-specific behavior for different mapping types
  • Updates imports to include Mapping from collections.abc/typing
  • Adds imports for MultiMapping from the local abc module

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread multicollections/__init__.py
Comment thread multicollections/__init__.py
@gerlero gerlero merged commit 5cef112 into main Sep 6, 2025
12 checks passed
@gerlero gerlero deleted the eq branch September 6, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants