Day 21 of acing and mastery of Data science interview and concept

Day 21 of acing and mastery of Data science interview and concept

1 write a decorator, but when you apply it to a function, necessary metadata

such as the name, doc string, annotations, and calling signature are lost.

2 A decorator has been applied to a function, but you want to “undo” it, gaining access to

the original unwrapped function.

3 You need to access various services via HTTP as a client. For example, downloading

data or interacting with a REST-based API.

4 You want a simple way to authenticate the clients connecting to servers in a distributed

the system, but don’t need the complexity of something like SSL.How would you implement that?

要查看或添加评论,请登录

Christine Karimi Nkoroi的更多文章

社区洞察

其他会员也浏览了