mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 02:29:03 +00:00 
			
		
		
		
	 2d70350742
			
		
	
	
		2d70350742
		
			
		
	
	
	
	
		
			
			* Update python json schema classes; Add presto connector * Modification in Postgres, pylint and presto support Co-authored-by: Suresh Srinivas <srini3005@gmail.com> Co-authored-by: Ayush Shah <ayush02shah12@gmail.com>
		
			
				
	
	
		
			23 lines
		
	
	
		
			655 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			655 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # generated by datamodel-codegen:
 | |
| #   filename:  schema/api/feed/createThread.json
 | |
| #   timestamp: 2021-08-17T03:53:57+00:00
 | |
| 
 | |
| from __future__ import annotations
 | |
| 
 | |
| from pydantic import BaseModel, Field
 | |
| 
 | |
| from ...type import basic
 | |
| 
 | |
| 
 | |
| class CreateThreadRequest(BaseModel):
 | |
|     message: str = Field(..., description='Message')
 | |
|     from_: basic.Uuid = Field(
 | |
|         ...,
 | |
|         alias='from',
 | |
|         description='ID of User (regular user or bot) posting the message',
 | |
|     )
 | |
|     about: basic.EntityLink = Field(
 | |
|         ...,
 | |
|         description='Data asset about which this thread is created for with format <#E/{enties}/{entityName}/{field}/{fieldValue}',
 | |
|     )
 |