Implement a custom GraphQL scalar named SecureToken using the graphene library. You must subclass…
Implement a custom GraphQL scalar named SecureToken using the graphene library. You must subclass…: a task in r2e-code-instruct-qwen3.5 (Harbor dataset). Example 1: SecureToken.serialize("hello") should return "tok aGVsbG8=" . Example 2: SecureToken.parse value("tok aGVsbG8=") should return…
The task
Example 1: `SecureToken.serialize("hello")` should return `"tok_aGVsbG8="`. Example 2: `SecureToken.parse_value("tok_aGVsbG8=")` should return `b"hello"`.
Part of Essacheez/r2e-code-instruct-qwen3.5.