# TSPythonGetType
Get the type of a `TS` object implemented in Python. 
## Synopsis
```
#include "petscts.h" 
PetscErrorCode TSPythonGetType(TS ts, const char *pyname[])
```
Not Collective


## Input Parameter

- ***ts -*** the `TS` context



## Output Parameter

- ***pyname -*** full dotted Python name [package].module[.{class|function}]





## See Also
 [](chapter_ts), `TSCreate()`, `TSSetType()`, `TSPYTHON`, `PetscPythonInitialize()`, `TSPythonSetType()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/python/pythonts.c.html#TSPythonGetType">src/ts/impls/python/pythonts.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/impls/python/pythonts.c)


[Index of all TS routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
