# Python Intellisense

**URL:** <https://forum.alternetsoft.com/t/python-intellisense/393>\
**Category:** AlterNET Studio Support\
**Tags:** python\
**Created:** [April 5, 2023, 5:04pm UTC](https://forum.alternetsoft.com/t/python-intellisense/393 "2023-04-05T17:04:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexIuspa](https://forum.alternetsoft.com/letter_avatar_proxy/v4/letter/a/606060/32.png) [@AlexIuspa](https://forum.alternetsoft.com/u/AlexIuspa)\
**Post date:** [April 5, 2023, 5:04pm UTC](https://forum.alternetsoft.com/t/python-intellisense/393/1 "2023-04-05T17:04:19Z")

</div>

When passing an object as parameter, I dont see any intellisense e.g

def test(myCar ):  
myCar.

MyCar should list two properties. however MyCar seems to be of another type. I even registered myCar as a global item

Now if I call myCar outside that function, the intellisense works.

![image](https://forum.alternetsoft.com/uploads/default/original/1X/d177038174128ca02a438c147af9def2125637ba.png)

---

<div class="post-metadata">

**Author:** ![dmitry.medvedev](https://forum.alternetsoft.com/user_avatar/forum.alternetsoft.com/dmitry.medvedev/32/27_2.png) [@dmitry.medvedev](https://forum.alternetsoft.com/u/dmitry.medvedev)\
**Post date:** [April 7, 2023, 6:10am UTC](https://forum.alternetsoft.com/t/python-intellisense/393/2 "2023-04-07T06:10:20Z")

</div>

Hi Alex,

I assume you’re using PythonNETParser here and registered a C# object of type MyCar, or declared Car Python object in Car.py module.

In your code, the type of parameter myCar inside the function test cannot be determined, as it’s just passed by name.

In Python 3.5 they introduced TypeHints

> **[typing — Support for type hints](https://docs.python.org/3/library/typing.html)**
>
> Source code: Lib/typing.py This module provides runtime support for type hints. The most fundamental support consists of the types Any, Union, Callable, TypeVar, and Generic. For a full specificati...

We’re going to support this feature in our PythonNETParser in the next update.

for it to work the test function needs to be declared like this:  
def test(myCar:Car)

 ![image](https://forum.alternetsoft.com/uploads/default/original/1X/969d5e4eafeeb4761fed721c29fac12d8504583e.png)

Kind regards,  
Dmitry

---

<div class="post-metadata">

**Author:** ![AlexIuspa](https://forum.alternetsoft.com/letter_avatar_proxy/v4/letter/a/606060/32.png) [@AlexIuspa](https://forum.alternetsoft.com/u/AlexIuspa)\
**Post date:** [April 7, 2023, 2:34pm UTC](https://forum.alternetsoft.com/t/python-intellisense/393/3 "2023-04-07T14:34:57Z")

</div>

When will you be updating to support that feature? We are evaluating the product and we need this feature.

Thanks,

---

<div class="post-metadata">

**Author:** ![dmitry.medvedev](https://forum.alternetsoft.com/user_avatar/forum.alternetsoft.com/dmitry.medvedev/32/27_2.png) [@dmitry.medvedev](https://forum.alternetsoft.com/u/dmitry.medvedev)\
**Post date:** [April 12, 2023, 1:24pm UTC](https://forum.alternetsoft.com/t/python-intellisense/393/5 "2023-04-12T13:24:47Z")

</div>

Hi Alex,

Support for TypeHints is going to be included in the coming major update, we can also push it to the coming NuGet update, which is expected sometime next week.

Kind regards,  
Dmitry

---

<div class="post-metadata">

**Author:** ![dmitry.medvedev](https://forum.alternetsoft.com/user_avatar/forum.alternetsoft.com/dmitry.medvedev/32/27_2.png) [@dmitry.medvedev](https://forum.alternetsoft.com/u/dmitry.medvedev)\
**Post date:** [April 18, 2023, 2:38am UTC](https://forum.alternetsoft.com/t/python-intellisense/393/6 "2023-04-18T02:38:49Z")

</div>

Hi Alex,

We have just released an update to NuGet (version 8.1.12), where type hints are implemented for the function parameters and return types.

Kind regards,  
Dmitry
