()
| 127 | quotes = [] |
| 128 | |
| 129 | def next_quote(): |
| 130 | idx = random.randrange(0, len(quotes)) |
| 131 | # Make sure quotes are not repeated |
| 132 | while idx == next_quote.idx: |
| 133 | idx = random.randrange(0, len(quotes)) |
| 134 | next_quote.idx = idx |
| 135 | return quotes[idx] |
| 136 | next_quote.idx = 0 |
| 137 | |
| 138 | # This is the class for the server-side gRPC endpoints |
no outgoing calls
no test coverage detected
searching dependent graphs…