Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Rewrite _EventInternalMetadata to back it with a dict #6872

Merged
merged 3 commits into from
Feb 18, 2020

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Feb 7, 2020

... but first, replace _event_dict_property with DictProperty. I think that this removes a layer of function dispatch for each lookup.

@richvdh richvdh force-pushed the rav/dictproperty branch 2 times, most recently from b8146d6 to 630e618 Compare February 14, 2020 16:40
this amounts to the same thing, but replaces `_event_dict` with `_dict`, and
removes some of the function layers generated by `property`.
Mostly, this gives mypy an easier time.
@richvdh richvdh requested a review from a team February 18, 2020 11:40
@richvdh richvdh merged commit 3f1cd14 into develop Feb 18, 2020
@richvdh richvdh deleted the rav/dictproperty branch February 18, 2020 16:21
babolivier pushed a commit that referenced this pull request Sep 1, 2021
* commit '3f1cd1479':
  changelog
  Rewrite _EventInternalMetadata to back it with a _dict
  Replace _event_dict_property with DictProperty
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants