type provider for SQLAlchemy columns (PY-7243)

This commit is contained in:
Dmitry Jemerov
2012-08-20 15:04:31 +02:00
parent 080c1ef22f
commit 99d173514b
5 changed files with 47 additions and 8 deletions
@@ -7,9 +7,8 @@ import org.jetbrains.annotations.Nullable;
/**
* Something that can be called, passed parameters to, and return something back.
* <br/>
* User: dcheryasov
* Date: May 15, 2010 3:22:30 PM
* @author dcheryasov
*/
public interface Callable extends PyElement {
@@ -31,4 +30,11 @@ public interface Callable extends PyElement {
@Nullable
PyFunction asMethod();
/**
* Returns the qualified name of the function.
*
* @return the qualified name of the function, or null for a lambda expression.
*/
@Nullable
String getQualifiedName();
}
@@ -69,6 +69,8 @@ public interface PyClass extends PsiNameIdentifierOwner, PyStatement, NameDefine
PyFunction findInitOrNew(boolean inherited);
/**
* Finds a property with the specified name in the class or one of its ancestors.
*
* @param name of the property
* @return descriptor of property accessors, or null if such property does not exist.
*/