mirror of
				https://github.com/donnemartin/system-design-primer.git
				synced 2025-11-04 10:12:32 +03:00 
			
		
		
		
	Enable syntax highlighting in all python code snippets (#268)
This commit is contained in:
		
				
					committed by
					
						
						Donne Martin
					
				
			
			
				
	
			
			
			
						parent
						
							8b04d4d5fe
						
					
				
				
					commit
					116634f5b3
				
			@@ -102,7 +102,7 @@ We'll use a multi-step **MapReduce**:
 | 
			
		||||
* **Step 1** - Transform the data to `(category, product_id), sum(quantity)`
 | 
			
		||||
* **Step 2** - Perform a distributed sort
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
```python
 | 
			
		||||
class SalesRanker(MRJob):
 | 
			
		||||
 | 
			
		||||
    def within_past_week(self, timestamp):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user