Skip to content

Conversation

@jogo
Copy link
Contributor

@jogo jogo commented Aug 17, 2022

First pass at adding some type hints to pymemcache to make it easier to
develop against etc.

@jogo jogo requested review from cgordon and jparise as code owners August 17, 2022 17:02
def set(
self,
key: KeyInputSpec,
value: Any,
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd like to have some constraints on value, but that might need to wait until we have more typing machinery in place for the serde interface.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

agreed

@jogo jogo force-pushed the types branch 2 times, most recently from 7bfd63a to 0b3bd4f Compare September 9, 2022 16:01
First pass at adding some type hints to pymemcache to make it easier to
develop against etc.
@jogo jogo merged commit 4940034 into pinterest:master Sep 13, 2022
@jogo jogo deleted the types branch September 13, 2022 16:26
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