While reviewing Python types data model, a public function accepts several optional shapes. Which action fixes it, and which check proves it worked?
Answer options
- A. Verify a type checker catches invalid calls
- B. Use an immutable default then create a list
- C. Use an immutable key representation
- D. Annotate the precise union